Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.Densities,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_Densities",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.Densities,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_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 3.2.3+maint.om/package.mo): time 0.0009888/0.0009886, allocations: 178.3 kB / 8.475 MB, free: 1.848 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.032/1.032, allocations: 205.2 MB / 214.1 MB, free: 5.145 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008813/0.0008813, allocations: 82.33 kB / 262.1 MB, free: 5.191 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1523/0.1532, allocations: 52.97 MB / 315.1 MB, free: 41.4 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06042/0.2137, allocations: 47.58 MB / 362.6 MB, free: 9.863 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1987/0.4124, allocations: 75.34 MB / 438 MB, free: 10.77 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001701/0.4126, allocations: 67.2 kB / 438 MB, free: 10.77 MB / 314.7 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.004622/0.4172, allocations: 1.734 MB / 439.8 MB, free: 10.32 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.4173, allocations: 7.719 kB / 439.8 MB, free: 10.32 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003289/0.4176, allocations: 56.98 kB / 439.8 MB, free: 10.32 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.375e-05/0.4177, allocations: 175.9 kB / 440 MB, free: 10.11 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.445e-05/0.4177, allocations: 3.719 kB / 440 MB, free: 10.11 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.407e-05/0.4177, allocations: 3.844 kB / 440 MB, free: 10.11 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.433e-05/0.4178, allocations: 34.22 kB / 440.1 MB, free: 10.11 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.783e-05/0.4179, allocations: 63.89 kB / 440.1 MB, free: 10.08 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.623e-06/0.418, allocations: 0 / 440.1 MB, free: 10.08 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.418, allocations: 0 / 440.1 MB, free: 10.08 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.418, allocations: 7.625 kB / 440.1 MB, free: 10.08 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004985/0.4185, allocations: 340.8 kB / 440.5 MB, free: 9.828 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.3e-05/0.4186, allocations: 54.67 kB / 440.5 MB, free: 9.801 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.442e-05/0.4186, allocations: 15.98 kB / 440.5 MB, free: 9.793 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.49e-05/0.4186, allocations: 5.344 kB / 440.5 MB, free: 9.793 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.231e-05/0.4187, allocations: 34.06 kB / 440.6 MB, free: 9.754 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.4187, allocations: 0 / 440.6 MB, free: 9.754 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001564/0.4188, allocations: 71.45 kB / 440.6 MB, free: 9.711 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.43e-05/0.4188, allocations: 51.41 kB / 440.7 MB, free: 9.648 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.106e-05/0.4189, allocations: 101.9 kB / 440.8 MB, free: 9.559 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.078e-05/0.4189, allocations: 29.64 kB / 440.8 MB, free: 9.523 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.083e-05/0.4189, allocations: 97.98 kB / 440.9 MB, free: 9.434 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.752e-05/0.419, allocations: 12.56 kB / 440.9 MB, free: 9.426 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.52e-06/0.419, allocations: 0 / 440.9 MB, free: 9.426 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 3.624e-05/0.419, allocations: 321.3 kB / 441.2 MB, free: 9.113 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.774e-05/0.419, allocations: 14.47 kB / 441.2 MB, free: 9.109 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.478e-05/0.4191, allocations: 14.58 kB / 441.3 MB, free: 9.109 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.698e-05/0.4191, allocations: 8.531 kB / 441.3 MB, free: 9.109 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.4191, allocations: 0 / 441.3 MB, free: 9.109 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.484e-05/0.4192, allocations: 70.83 kB / 441.3 MB, free: 9.074 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.315e-06/0.4192, allocations: 7.812 kB / 441.3 MB, free: 9.07 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.376e-06/0.4192, allocations: 0 / 441.3 MB, free: 9.07 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.278e-06/0.4193, allocations: 0 / 441.3 MB, free: 9.07 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000144/0.4194, allocations: 29.39 kB / 441.4 MB, free: 9.066 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.4194, allocations: 0 / 441.4 MB, free: 9.066 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.868e-05/0.4195, allocations: 26.22 kB / 441.4 MB, free: 9.055 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/0.4195, allocations: 1.734 kB / 441.4 MB, free: 9.055 MB / 314.7 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 3.827e-05/0.4196, allocations: 101.8 kB / 441.5 MB, free: 8.949 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.801e-05/0.4196, allocations: 7.875 kB / 441.5 MB, free: 8.945 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001411/0.4198, allocations: 80.06 kB / 441.6 MB, free: 8.906 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.4198, allocations: 0 / 441.6 MB, free: 8.906 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.4198, allocations: 0 / 441.6 MB, free: 8.906 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.4198, allocations: 0 / 441.6 MB, free: 8.906 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000126/0.4199, allocations: 174.2 kB / 441.8 MB, free: 8.742 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.4199, allocations: 0 / 441.8 MB, free: 8.742 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001208/0.42, allocations: 28.45 kB / 441.8 MB, free: 8.738 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.42, allocations: 0 / 441.8 MB, free: 8.738 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.4201, allocations: 1.125 kB / 441.8 MB, free: 8.738 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.4201, allocations: 0 / 441.8 MB, free: 8.738 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.4201, allocations: 0 / 441.8 MB, free: 8.738 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001085/0.4202, allocations: 164.1 kB / 441.9 MB, free: 8.605 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002186/0.4204, allocations: 0.5952 MB / 442.5 MB, free: 8.094 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.649e-05/0.4204, allocations: 85 kB / 442.6 MB, free: 7.992 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.744e-05/0.4205, allocations: 0 / 442.6 MB, free: 7.992 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001212/0.4206, allocations: 19.31 kB / 442.6 MB, free: 7.988 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.622e-05/0.4206, allocations: 1.922 kB / 442.6 MB, free: 7.988 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.241e-06/0.4206, allocations: 7.844 kB / 442.7 MB, free: 7.984 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.527e-05/0.4207, allocations: 95.83 kB / 442.7 MB, free: 7.906 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007822/0.4215, allocations: 7.688 kB / 442.8 MB, free: 7.906 MB / 314.7 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 7.737e-05/0.4215, allocations: 94.78 kB / 442.8 MB, free: 7.82 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.686e-05/0.4216, allocations: 35.14 kB / 442.9 MB, free: 7.82 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.253e-06/0.4216, allocations: 0 / 442.9 MB, free: 7.82 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.698e-05/0.4217, allocations: 26.56 kB / 442.9 MB, free: 7.812 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001598/0.4219, allocations: 13.06 kB / 442.9 MB, free: 7.809 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003458/0.4222, allocations: 137.5 kB / 443.1 MB, free: 7.715 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000169/0.4224, allocations: 0.7156 MB / 443.8 MB, free: 7.012 MB / 314.7 MB Notification: Performance of SimCode: time 2.71e-07/0.4224, allocations: 4 kB / 443.8 MB, free: 7.008 MB / 314.7 MB (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_Densities_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_Densities.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities_res.mat does not exist to compare? outputFormat=mat