Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.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.CompareSincExpSine,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_CompareSincExpSine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.CompareSincExpSine,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_CompareSincExpSine",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.0009684/0.0009684, allocations: 175.7 kB / 8.134 MB, free: 2.191 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.147/1.147, allocations: 221.4 MB / 229.9 MB, free: 3 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009705/0.0009705, allocations: 92.86 kB / 280.8 MB, free: 1.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09476/0.09576, allocations: 55.81 MB / 336.6 MB, free: 9.422 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2041/0.2999, allocations: 50.39 MB / 387 MB, free: 37.95 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07763/0.3776, allocations: 75.41 MB / 462.4 MB, free: 11.38 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001774/0.3778, allocations: 71.89 kB / 462.5 MB, free: 11.31 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.005089/0.3829, allocations: 1.625 MB / 464.1 MB, free: 9.664 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.253e-05/0.383, allocations: 12 kB / 464.1 MB, free: 9.652 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.37e-05/0.383, allocations: 14.45 kB / 464.1 MB, free: 9.641 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001105/0.3831, allocations: 167 kB / 464.3 MB, free: 9.438 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.3831, allocations: 0 / 464.3 MB, free: 9.438 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.071e-05/0.3832, allocations: 0 / 464.3 MB, free: 9.438 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.348e-05/0.3833, allocations: 27.92 kB / 464.3 MB, free: 9.41 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001045/0.3834, allocations: 68.23 kB / 464.4 MB, free: 9.328 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.3834, allocations: 4 kB / 464.4 MB, free: 9.324 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.3834, allocations: 0 / 464.4 MB, free: 9.324 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.3834, allocations: 0 / 464.4 MB, free: 9.324 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001642/0.3836, allocations: 171.9 kB / 464.6 MB, free: 9.113 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.539e-05/0.3837, allocations: 71.8 kB / 464.6 MB, free: 9.016 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.568e-05/0.3837, allocations: 26.64 kB / 464.6 MB, free: 8.98 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.671e-05/0.3837, allocations: 0 / 464.6 MB, free: 8.98 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.846e-05/0.3838, allocations: 42.48 kB / 464.7 MB, free: 8.93 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 9.41e-07/0.3838, allocations: 1.031 kB / 464.7 MB, free: 8.93 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.000181/0.384, allocations: 69.59 kB / 464.8 MB, free: 8.855 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.065e-05/0.384, allocations: 106.8 kB / 464.9 MB, free: 8.727 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.579e-05/0.3841, allocations: 113.3 kB / 465 MB, free: 8.605 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.436e-05/0.3841, allocations: 25.7 kB / 465 MB, free: 8.574 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.615e-05/0.3842, allocations: 84.14 kB / 465.1 MB, free: 8.488 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.815e-05/0.3842, allocations: 15.8 kB / 465.1 MB, free: 8.473 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.491e-06/0.3842, allocations: 0 / 465.1 MB, free: 8.473 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.3843, allocations: 318.9 kB / 465.4 MB, free: 8.152 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.004e-05/0.3844, allocations: 11.98 kB / 465.4 MB, free: 8.141 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.845e-05/0.3844, allocations: 30.58 kB / 465.4 MB, free: 8.102 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.668e-05/0.3844, allocations: 13.97 kB / 465.5 MB, free: 8.09 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.3844, allocations: 3.938 kB / 465.5 MB, free: 8.086 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001197/0.3846, allocations: 69.61 kB / 465.5 MB, free: 8.012 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.3846, allocations: 12 kB / 465.5 MB, free: 8 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.3846, allocations: 1.438 kB / 465.5 MB, free: 8 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.3846, allocations: 0 / 465.5 MB, free: 8 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000171/0.3848, allocations: 19.98 kB / 465.6 MB, free: 7.98 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.3848, allocations: 7.984 kB / 465.6 MB, free: 7.973 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001079/0.3849, allocations: 12 kB / 465.6 MB, free: 7.961 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.999e-06/0.3849, allocations: 7.984 kB / 465.6 MB, free: 7.953 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 6.26e-05/0.385, allocations: 111.6 kB / 465.7 MB, free: 7.84 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.727e-05/0.385, allocations: 7.906 kB / 465.7 MB, free: 7.832 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.583e-05/0.3851, allocations: 11.75 kB / 465.7 MB, free: 7.82 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.3851, allocations: 0 / 465.7 MB, free: 7.82 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.3851, allocations: 4 kB / 465.7 MB, free: 7.816 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.3851, allocations: 4 kB / 465.7 MB, free: 7.812 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001164/0.3852, allocations: 158.1 kB / 465.9 MB, free: 7.621 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.3852, allocations: 5.656 kB / 465.9 MB, free: 7.617 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001312/0.3854, allocations: 27.97 kB / 465.9 MB, free: 7.59 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.3854, allocations: 0 / 465.9 MB, free: 7.59 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.3854, allocations: 0 / 465.9 MB, free: 7.59 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.093e-06/0.3854, allocations: 4.562 kB / 465.9 MB, free: 7.586 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.3854, allocations: 4 kB / 465.9 MB, free: 7.582 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001521/0.3856, allocations: 122.1 kB / 466 MB, free: 7.426 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002629/0.3858, allocations: 0.4985 MB / 466.5 MB, free: 6.887 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.602e-05/0.3859, allocations: 85.02 kB / 466.6 MB, free: 6.785 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.145e-05/0.3859, allocations: 3.984 kB / 466.6 MB, free: 6.781 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001134/0.386, allocations: 20.92 kB / 466.7 MB, free: 6.762 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.13e-05/0.3861, allocations: 4.188 kB / 466.7 MB, free: 6.758 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.405e-06/0.3861, allocations: 5.125 kB / 466.7 MB, free: 6.754 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.633e-05/0.3862, allocations: 98.64 kB / 466.8 MB, free: 6.66 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007503/0.3869, allocations: 11.91 kB / 466.8 MB, free: 6.648 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0001158/0.387, allocations: 107.2 kB / 466.9 MB, free: 6.535 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001036/0.3872, allocations: 27.98 kB / 466.9 MB, free: 6.508 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.3872, allocations: 0 / 466.9 MB, free: 6.508 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.769e-05/0.3872, allocations: 27.92 kB / 466.9 MB, free: 6.48 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000102/0.3873, allocations: 11.22 kB / 466.9 MB, free: 6.473 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004208/0.3877, allocations: 117.8 kB / 467.1 MB, free: 6.324 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002705/0.388, allocations: 0.7075 MB / 467.8 MB, free: 5.59 MB / 346.7 MB Notification: Performance of SimCode: time 2.3e-07/0.388, allocations: 0 / 467.8 MB, free: 5.59 MB / 346.7 MB (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_CompareSincExpSine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Blocks_Examples_CompareSincExpSine.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine_res.mat does not exist to compare? outputFormat=mat