Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.Densities,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_Densities",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.Densities,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_Densities",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 181.8 kB / 8.13 MB, free: 0.8633 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.251/1.251, allocations: 221.4 MB / 229.9 MB, free: 13.55 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 98.08 kB / 280.8 MB, free: 10.51 MB / 226.8 MB Notification: Performance of FrontEnd - loaded program: time 0.1113/0.1125, allocations: 55.81 MB / 336.6 MB, free: 2.699 MB / 274.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09381/0.2063, allocations: 50.41 MB / 387 MB, free: 248 kB / 322.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2519/0.4582, allocations: 76.2 MB / 463.2 MB, free: 5.434 MB / 338.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002136/0.4585, allocations: 71.95 kB / 463.3 MB, free: 5.363 MB / 338.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.005753/0.4642, allocations: 1.768 MB / 465 MB, free: 3.605 MB / 338.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.4643, allocations: 8 kB / 465.1 MB, free: 3.598 MB / 338.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003757/0.4647, allocations: 56.78 kB / 465.1 MB, free: 3.543 MB / 338.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001226/0.4648, allocations: 175.7 kB / 465.3 MB, free: 3.332 MB / 338.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.319e-05/0.4648, allocations: 0 / 465.3 MB, free: 3.332 MB / 338.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.559e-05/0.4649, allocations: 5.875 kB / 465.3 MB, free: 3.328 MB / 338.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001171/0.465, allocations: 35.98 kB / 465.3 MB, free: 3.293 MB / 338.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001332/0.4651, allocations: 69.8 kB / 465.4 MB, free: 3.219 MB / 338.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.4651, allocations: 0 / 465.4 MB, free: 3.219 MB / 338.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.4652, allocations: 0 / 465.4 MB, free: 3.219 MB / 338.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.4652, allocations: 6 kB / 465.4 MB, free: 3.215 MB / 338.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006201/0.4658, allocations: 337.9 kB / 465.7 MB, free: 2.852 MB / 338.8 MB Notification: Performance of preOpt comSubExp (simulation): time 9.83e-05/0.4659, allocations: 47.41 kB / 465.8 MB, free: 2.797 MB / 338.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.027e-05/0.466, allocations: 27.3 kB / 465.8 MB, free: 2.77 MB / 338.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.288e-05/0.466, allocations: 0 / 465.8 MB, free: 2.77 MB / 338.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.453e-05/0.466, allocations: 34.56 kB / 465.8 MB, free: 2.727 MB / 338.8 MB Notification: Performance of pre-optimization done (n=5): time 1.402e-06/0.4661, allocations: 0 / 465.8 MB, free: 2.727 MB / 338.8 MB Notification: Performance of matching and sorting (n=5): time 0.0001976/0.4663, allocations: 63.91 kB / 465.9 MB, free: 2.66 MB / 338.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.882e-05/0.4663, allocations: 52.44 kB / 465.9 MB, free: 2.598 MB / 338.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.136e-05/0.4664, allocations: 108.9 kB / 466.1 MB, free: 2.484 MB / 338.8 MB Notification: Performance of collectPreVariables (initialization): time 1.39e-05/0.4664, allocations: 31.2 kB / 466.1 MB, free: 2.449 MB / 338.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.594e-05/0.4665, allocations: 96.48 kB / 466.2 MB, free: 2.355 MB / 338.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.498e-05/0.4665, allocations: 19.73 kB / 466.2 MB, free: 2.336 MB / 338.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.901e-06/0.4665, allocations: 0 / 466.2 MB, free: 2.336 MB / 338.8 MB Notification: Performance of setup shared object (initialization): time 0.0001014/0.4666, allocations: 314.8 kB / 466.5 MB, free: 2.02 MB / 338.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.367e-05/0.4666, allocations: 13.47 kB / 466.5 MB, free: 2.008 MB / 338.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.77e-05/0.4667, allocations: 15.98 kB / 466.5 MB, free: 1.992 MB / 338.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.178e-05/0.4667, allocations: 8 kB / 466.5 MB, free: 1.984 MB / 338.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.117e-06/0.4667, allocations: 4 kB / 466.5 MB, free: 1.98 MB / 338.8 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001154/0.4668, allocations: 66.47 kB / 466.6 MB, free: 1.91 MB / 338.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.4669, allocations: 4.562 kB / 466.6 MB, free: 1.906 MB / 338.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-06/0.4669, allocations: 0.875 kB / 466.6 MB, free: 1.906 MB / 338.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.4669, allocations: 0 / 466.6 MB, free: 1.906 MB / 338.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001701/0.4671, allocations: 32.84 kB / 466.6 MB, free: 1.875 MB / 338.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.399e-06/0.4671, allocations: 0 / 466.6 MB, free: 1.875 MB / 338.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.496e-05/0.4672, allocations: 12 kB / 466.7 MB, free: 1.863 MB / 338.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.226e-05/0.4672, allocations: 8.734 kB / 466.7 MB, free: 1.855 MB / 338.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.516e-05/0.4673, allocations: 108.9 kB / 466.8 MB, free: 1.742 MB / 338.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.151e-05/0.4673, allocations: 7.906 kB / 466.8 MB, free: 1.734 MB / 338.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001763/0.4675, allocations: 74.61 kB / 466.9 MB, free: 1.656 MB / 338.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.4675, allocations: 4 kB / 466.9 MB, free: 1.652 MB / 338.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.4675, allocations: 0.9375 kB / 466.9 MB, free: 1.652 MB / 338.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.4675, allocations: 0 / 466.9 MB, free: 1.652 MB / 338.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001696/0.4677, allocations: 166.1 kB / 467 MB, free: 1.453 MB / 338.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.4677, allocations: 8 kB / 467 MB, free: 1.445 MB / 338.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000129/0.4679, allocations: 23.69 kB / 467.1 MB, free: 1.426 MB / 338.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.564e-06/0.4679, allocations: 0 / 467.1 MB, free: 1.426 MB / 338.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.4679, allocations: 0 / 467.1 MB, free: 1.426 MB / 338.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.4679, allocations: 4 kB / 467.1 MB, free: 1.422 MB / 338.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.269e-06/0.4679, allocations: 3.938 kB / 467.1 MB, free: 1.418 MB / 338.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001554/0.4681, allocations: 170.6 kB / 467.2 MB, free: 1.238 MB / 338.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000378/0.4685, allocations: 0.5819 MB / 467.8 MB, free: 0.6367 MB / 338.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.555e-05/0.4685, allocations: 85.02 kB / 467.9 MB, free: 0.5352 MB / 338.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/0.4685, allocations: 0.6562 kB / 467.9 MB, free: 0.5352 MB / 338.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001281/0.4687, allocations: 15.98 kB / 467.9 MB, free: 0.5195 MB / 338.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.803e-05/0.4687, allocations: 5.594 kB / 467.9 MB, free: 0.5156 MB / 338.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.732e-06/0.4687, allocations: 0 / 467.9 MB, free: 0.5156 MB / 338.8 MB Notification: Performance of sort global known variables: time 4.509e-05/0.4688, allocations: 93.73 kB / 468 MB, free: 436 kB / 338.8 MB Notification: Performance of remove unused functions: time 0.0007915/0.4696, allocations: 19.84 kB / 468 MB, free: 416 kB / 338.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001148/0.4697, allocations: 95.19 kB / 468.1 MB, free: 312 kB / 338.8 MB Notification: Performance of simCode: created initialization part: time 0.000119/0.4698, allocations: 36.64 kB / 468.2 MB, free: 276 kB / 338.8 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.4698, allocations: 4 kB / 468.2 MB, free: 272 kB / 338.8 MB Notification: Performance of simCode: created simulation system equations: time 4.495e-05/0.4699, allocations: 24 kB / 468.2 MB, free: 248 kB / 338.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001822/0.4701, allocations: 6.062 kB / 468.2 MB, free: 244 kB / 338.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004323/0.4705, allocations: 138.2 kB / 468.3 MB, free: 80 kB / 338.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003138/0.4708, allocations: 0.7153 MB / 469 MB, free: 15.34 MB / 354.8 MB Notification: Performance of SimCode: time 4.61e-07/0.4709, allocations: 0 / 469 MB, free: 15.34 MB / 354.8 MB (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_Noise_Densities_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Blocks_Examples_Noise_Densities.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities_res.mat does not exist to compare? outputFormat=mat