Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Modulation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Modulation,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Modulation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Modulation,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Modulation",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 trunk/package.mo): time 0.001502/0.001502, allocations: 198.6 kB / 8.54 MB, free: 1.809 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.31/1.31, allocations: 225.5 MB / 234.4 MB, free: 3.41 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009536/0.0009536, allocations: 91.75 kB / 286.3 MB, free: 5.199 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1115/0.1125, allocations: 56.9 MB / 343.2 MB, free: 8.648 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09786/0.2103, allocations: 51.47 MB / 394.7 MB, free: 5.137 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2465/0.4569, allocations: 76.88 MB / 471.6 MB, free: 14.77 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002308/0.4572, allocations: 61.72 kB / 471.6 MB, free: 14.75 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.008387/0.4656, allocations: 3.06 MB / 474.7 MB, free: 12.91 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.4656, allocations: 12 kB / 474.7 MB, free: 12.9 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002377/0.4659, allocations: 49.56 kB / 474.8 MB, free: 12.86 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002423/0.4661, allocations: 230.1 kB / 475 MB, free: 12.62 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.4662, allocations: 11.66 kB / 475 MB, free: 12.61 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.174e-05/0.4662, allocations: 18.88 kB / 475 MB, free: 12.6 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000138/0.4663, allocations: 54.88 kB / 475.1 MB, free: 12.56 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001854/0.4665, allocations: 140.8 kB / 475.2 MB, free: 12.45 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.4666, allocations: 0 / 475.2 MB, free: 12.45 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.625e-05/0.4666, allocations: 0 / 475.2 MB, free: 12.45 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.4666, allocations: 7.188 kB / 475.2 MB, free: 12.45 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008496/0.4674, allocations: 0.6056 MB / 475.8 MB, free: 11.92 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001372/0.4676, allocations: 104.8 kB / 475.9 MB, free: 11.82 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.307e-05/0.4677, allocations: 42.2 kB / 476 MB, free: 11.78 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.052e-05/0.4677, allocations: 11.94 kB / 476 MB, free: 11.77 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/0.4677, allocations: 30.56 kB / 476 MB, free: 11.73 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 1.593e-06/0.4677, allocations: 0 / 476 MB, free: 11.73 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002812/0.468, allocations: 116.4 kB / 476.1 MB, free: 11.64 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.474e-05/0.4681, allocations: 106.8 kB / 476.2 MB, free: 11.51 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001384/0.4682, allocations: 156.9 kB / 476.4 MB, free: 11.38 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.4682, allocations: 29.73 kB / 476.4 MB, free: 11.34 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.043e-05/0.4683, allocations: 119.4 kB / 476.5 MB, free: 11.24 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.779e-05/0.4683, allocations: 40.97 kB / 476.6 MB, free: 11.21 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.354e-06/0.4683, allocations: 0 / 476.6 MB, free: 11.21 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.684e-05/0.4684, allocations: 335.9 kB / 476.9 MB, free: 10.89 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.344e-05/0.4685, allocations: 24.5 kB / 476.9 MB, free: 10.88 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.286e-05/0.4685, allocations: 84.36 kB / 477 MB, free: 10.79 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.009e-05/0.4686, allocations: 36.2 kB / 477 MB, free: 10.77 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.4686, allocations: 0 / 477 MB, free: 10.77 MB / 346.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002105/0.4688, allocations: 145.4 kB / 477.2 MB, free: 10.65 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.4688, allocations: 9.875 kB / 477.2 MB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.4689, allocations: 0 / 477.2 MB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.4689, allocations: 7.391 kB / 477.2 MB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000172/0.4691, allocations: 41.97 kB / 477.2 MB, free: 10.61 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/0.4691, allocations: 9.781 kB / 477.2 MB, free: 10.6 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000122/0.4692, allocations: 20.3 kB / 477.3 MB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.55e-05/0.4692, allocations: 4 kB / 477.3 MB, free: 10.58 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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 5.477e-05/0.4693, allocations: 108.8 kB / 477.4 MB, free: 10.47 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.441e-05/0.4694, allocations: 19.81 kB / 477.4 MB, free: 10.45 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000255/0.4696, allocations: 144.1 kB / 477.5 MB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.4696, allocations: 4 kB / 477.5 MB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.4697, allocations: 0 / 477.5 MB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.4697, allocations: 7.422 kB / 477.5 MB, free: 10.35 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000358/0.47, allocations: 234.6 kB / 477.8 MB, free: 10.14 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.47, allocations: 0 / 477.8 MB, free: 10.14 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002034/0.4703, allocations: 42.14 kB / 477.8 MB, free: 10.11 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.4703, allocations: 3.938 kB / 477.8 MB, free: 10.11 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.731e-05/0.4703, allocations: 4 kB / 477.8 MB, free: 10.1 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.4703, allocations: 0 / 477.8 MB, free: 10.1 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.4703, allocations: 1.812 kB / 477.8 MB, free: 10.1 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000317/0.4706, allocations: 451.8 kB / 478.3 MB, free: 9.684 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003696/0.471, allocations: 0.8681 MB / 479.1 MB, free: 8.867 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.29e-05/0.4711, allocations: 96.25 kB / 479.2 MB, free: 8.758 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.977e-05/0.4711, allocations: 0 / 479.2 MB, free: 8.758 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001998/0.4713, allocations: 4 kB / 479.2 MB, free: 8.754 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.571e-05/0.4714, allocations: 21.98 kB / 479.2 MB, free: 8.742 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.4714, allocations: 4 kB / 479.3 MB, free: 8.738 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.429e-05/0.4715, allocations: 130.6 kB / 479.4 MB, free: 8.637 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009223/0.4724, allocations: 35.84 kB / 479.4 MB, free: 8.602 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (sine.phi,sinAM.phi,cosAM.phi,sinFM.phi,cosFM.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.0001312/0.4725, allocations: 110.7 kB / 479.5 MB, free: 8.488 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001812/0.4727, allocations: 82.36 kB / 479.6 MB, free: 8.434 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.4727, allocations: 384 / 479.6 MB, free: 8.434 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.49e-05/0.4728, allocations: 60.53 kB / 479.7 MB, free: 8.391 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002462/0.473, allocations: 7.141 kB / 479.7 MB, free: 8.391 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009192/0.474, allocations: 0.5188 MB / 480.2 MB, free: 7.922 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002947/0.4743, allocations: 0.7686 MB / 481 MB, free: 7.16 MB / 346.7 MB Notification: Performance of SimCode: time 2.71e-07/0.4743, allocations: 8 kB / 481 MB, free: 7.152 MB / 346.7 MB (rm -f Modelica_trunk_Modelica.Blocks.Examples.Modulation.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Modulation.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Modulation.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Modulation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Blocks.Examples.Modulation_res.mat --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_Modulation_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Blocks_Examples_Modulation.fmu > Modelica_trunk_Modelica.Blocks.Examples.Modulation.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Blocks.Examples.Modulation_res.mat does not exist to compare? outputFormat=mat