Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Blocks.StrictLimiters,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_StrictLimiters",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.StrictLimiters,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_StrictLimiters",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.001587/0.001588, allocations: 200 kB / 8.536 MB, free: 1.688 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.155/1.155, allocations: 225.5 MB / 234.4 MB, free: 15.02 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009188/0.0009189, allocations: 94.52 kB / 286.4 MB, free: 12.59 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2741/0.2741, allocations: 45.15 MB / 383.3 MB, free: 40.9 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1196/0.3937, allocations: 69.36 MB / 452.7 MB, free: 5.43 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.281/0.6747, allocations: 63.24 MB / 0.5039 GB, free: 35.52 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1021/0.7769, allocations: 91.99 MB / 0.5937 GB, free: 2.383 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001928/0.7772, allocations: 59.97 kB / 0.5937 GB, free: 2.324 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.04658/0.8237, allocations: 16.43 MB / 0.6098 GB, free: 1.836 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.8238, allocations: 8 kB / 0.6098 GB, free: 1.828 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000684/0.8245, allocations: 166.8 kB / 0.61 GB, free: 1.664 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001262/0.8258, allocations: 0.6014 MB / 0.6106 GB, free: 1.027 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.626e-05/0.8258, allocations: 16 kB / 0.6106 GB, free: 1.012 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.071e-05/0.8259, allocations: 36 kB / 0.6106 GB, free: 0.9766 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006395/0.8266, allocations: 330 kB / 0.6109 GB, free: 0.6562 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008077/0.8274, allocations: 0.4984 MB / 0.6114 GB, free: 112 kB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.087e-05/0.8274, allocations: 3.938 kB / 0.6114 GB, free: 108 kB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.678e-05/0.8275, allocations: 7.891 kB / 0.6114 GB, free: 100 kB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.707e-05/0.8275, allocations: 15.98 kB / 0.6114 GB, free: 84 kB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003212/0.8307, allocations: 2.191 MB / 0.6136 GB, free: 13.82 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0015/0.8322, allocations: 0.6144 MB / 0.6142 GB, free: 13.18 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003716/0.8326, allocations: 189.7 kB / 0.6143 GB, free: 12.99 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.225e-05/0.8327, allocations: 15.94 kB / 0.6144 GB, free: 12.97 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/0.8327, allocations: 38.5 kB / 0.6144 GB, free: 12.93 MB / 442.7 MB Notification: Performance of pre-optimization done (n=46): time 1.893e-06/0.8327, allocations: 0 / 0.6144 GB, free: 12.93 MB / 442.7 MB Notification: Performance of matching and sorting (n=46): time 0.0008254/0.8336, allocations: 419.1 kB / 0.6148 GB, free: 12.51 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.95e-05/0.8337, allocations: 140.5 kB / 0.6149 GB, free: 12.34 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000504/0.8342, allocations: 443.8 kB / 0.6154 GB, free: 11.91 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.35e-05/0.8342, allocations: 25.7 kB / 0.6154 GB, free: 11.88 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001383/0.8344, allocations: 244.7 kB / 0.6156 GB, free: 11.63 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000121/0.8345, allocations: 161.5 kB / 0.6158 GB, free: 11.47 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.621e-05/0.8345, allocations: 0 / 0.6158 GB, free: 11.47 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.8347, allocations: 382.8 kB / 0.6161 GB, free: 11.09 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002708/0.835, allocations: 153 kB / 0.6163 GB, free: 10.94 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003214/0.8353, allocations: 246.7 kB / 0.6165 GB, free: 10.66 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002848/0.8356, allocations: 160.8 kB / 0.6167 GB, free: 10.5 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.8356, allocations: 0 / 0.6167 GB, free: 10.5 MB / 442.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0008112/0.8364, allocations: 490.2 kB / 0.6171 GB, free: 10.02 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003255/0.8367, allocations: 0.8714 MB / 0.618 GB, free: 9.078 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.8368, allocations: 4 kB / 0.618 GB, free: 9.074 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.8368, allocations: 8 kB / 0.618 GB, free: 9.066 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001059/0.8378, allocations: 219.7 kB / 0.6182 GB, free: 8.852 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.8379, allocations: 4 kB / 0.6182 GB, free: 8.848 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006074/0.8385, allocations: 115.5 kB / 0.6183 GB, free: 8.734 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.383e-05/0.8386, allocations: 23.98 kB / 0.6183 GB, free: 8.711 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.436e-06/0.8386, allocations: 6.812 kB / 0.6184 GB, free: 8.707 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006414/0.8392, allocations: 357.3 kB / 0.6187 GB, free: 8.359 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.095e-06/0.8392, allocations: 0 / 0.6187 GB, free: 8.359 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.476e-06/0.8392, allocations: 8 kB / 0.6187 GB, free: 8.352 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008788/0.8401, allocations: 184 kB / 0.6189 GB, free: 8.172 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.365e-06/0.8401, allocations: 7.984 kB / 0.6189 GB, free: 8.164 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004626/0.8406, allocations: 87.55 kB / 0.619 GB, free: 8.078 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.252e-05/0.8407, allocations: 19.98 kB / 0.619 GB, free: 8.059 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 4 (PID2.I.local_reset,PID1.I.local_reset,limIntegrator2.local_reset,limIntegrator1.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 62 * 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 0.0001293/0.8408, allocations: 112.9 kB / 0.6191 GB, free: 7.941 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001272/0.8409, allocations: 75.06 kB / 0.6192 GB, free: 7.867 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001422/0.8411, allocations: 66.62 kB / 0.6192 GB, free: 7.801 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.722e-06/0.8411, allocations: 8 kB / 0.6192 GB, free: 7.793 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/0.8411, allocations: 0 / 0.6192 GB, free: 7.793 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.8411, allocations: 7.922 kB / 0.6192 GB, free: 7.785 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001516/0.8426, allocations: 1.07 MB / 0.6203 GB, free: 6.672 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.726e-06/0.8427, allocations: 0 / 0.6203 GB, free: 6.672 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007924/0.8434, allocations: 167.8 kB / 0.6204 GB, free: 6.508 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.8435, allocations: 0 / 0.6204 GB, free: 6.508 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.719e-05/0.8435, allocations: 7.984 kB / 0.6205 GB, free: 6.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.8435, allocations: 7.938 kB / 0.6205 GB, free: 6.492 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.8435, allocations: 0 / 0.6205 GB, free: 6.492 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001105/0.8446, allocations: 0.8252 MB / 0.6213 GB, free: 5.641 MB / 442.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0015/0.8462, allocations: 1.432 MB / 0.6227 GB, free: 4.184 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002187/0.8464, allocations: 188.1 kB / 0.6228 GB, free: 3.98 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.649e-05/0.8465, allocations: 7.906 kB / 0.6229 GB, free: 3.973 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006298/0.8471, allocations: 91.92 kB / 0.6229 GB, free: 3.883 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.766e-05/0.8472, allocations: 39.92 kB / 0.623 GB, free: 3.844 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-05/0.8473, allocations: 16 kB / 0.623 GB, free: 3.828 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.0003521/0.8476, allocations: 347.2 kB / 0.6233 GB, free: 3.492 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001859/0.8495, allocations: 207.1 kB / 0.6235 GB, free: 3.289 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (slewRateLimiter1.y,slewRateLimiter2.y,limIntegrator1.y,limIntegrator2.y,PID1.I.y,PID1.D.x,PID2.I.y,PID2.D.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 46 * 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.0001561/0.8497, allocations: 107.1 kB / 0.6236 GB, free: 3.176 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001049/0.8507, allocations: 0.6203 MB / 0.6242 GB, free: 2.551 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.8507, allocations: 1 kB / 0.6242 GB, free: 2.551 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003316/0.8511, allocations: 199.8 kB / 0.6244 GB, free: 2.352 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008392/0.8519, allocations: 166.9 kB / 0.6246 GB, free: 2.195 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002949/0.8549, allocations: 1.134 MB / 0.6257 GB, free: 1.023 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007316/0.8556, allocations: 1.017 MB / 0.6267 GB, free: 15.97 MB / 458.7 MB Notification: Performance of SimCode: time 3.51e-07/0.8556, allocations: 0 / 0.6267 GB, free: 15.97 MB / 458.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Blocks_StrictLimiters_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Blocks_StrictLimiters.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters_res.mat does not exist to compare? outputFormat=mat