Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.Continuous.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.Continuous,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_Continuous",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Continuous,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_Continuous",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.001032/0.001032, allocations: 198.6 kB / 8.539 MB, free: 1.801 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.153/1.153, allocations: 225.5 MB / 234.4 MB, free: 3.43 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000911/0.000911, allocations: 92.66 kB / 286.3 MB, free: 5.223 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1668/0.1668, allocations: 45.13 MB / 383.3 MB, free: 0.5859 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1901/0.357, allocations: 69.37 MB / 452.7 MB, free: 76.14 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07867/0.4357, allocations: 63.24 MB / 0.5039 GB, free: 12.97 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2557/0.6914, allocations: 96.79 MB / 0.5984 GB, free: 6.141 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001677/0.6917, allocations: 65.72 kB / 0.5984 GB, free: 6.109 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.04298/0.7346, allocations: 15.32 MB / 0.6134 GB, free: 9.195 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.122e-05/0.7347, allocations: 8 kB / 0.6134 GB, free: 9.188 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003788/0.7351, allocations: 114.9 kB / 0.6135 GB, free: 9.074 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009821/0.7361, allocations: 0.5604 MB / 0.6141 GB, free: 8.547 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.089e-05/0.7361, allocations: 16 kB / 0.6141 GB, free: 8.531 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.299e-05/0.7362, allocations: 35.91 kB / 0.6141 GB, free: 8.496 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006242/0.7368, allocations: 334.3 kB / 0.6144 GB, free: 8.285 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007358/0.7376, allocations: 0.4888 MB / 0.6149 GB, free: 7.855 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.988e-05/0.7376, allocations: 3.938 kB / 0.6149 GB, free: 7.852 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.483e-05/0.7377, allocations: 4 kB / 0.6149 GB, free: 7.848 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.587e-05/0.7377, allocations: 15.98 kB / 0.6149 GB, free: 7.832 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003293/0.741, allocations: 2.584 MB / 0.6175 GB, free: 5.512 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006929/0.7417, allocations: 449 kB / 0.6179 GB, free: 5.176 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002754/0.742, allocations: 186.8 kB / 0.6181 GB, free: 5.047 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.496e-05/0.742, allocations: 4 kB / 0.6181 GB, free: 5.043 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.232e-05/0.7421, allocations: 41.16 kB / 0.6181 GB, free: 5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=43): time 1.664e-06/0.7421, allocations: 8 kB / 0.6181 GB, free: 4.992 MB / 410.7 MB Notification: Performance of matching and sorting (n=44): time 0.001282/0.7434, allocations: 0.7764 MB / 0.6189 GB, free: 4.312 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.354e-05/0.7434, allocations: 136.5 kB / 0.619 GB, free: 4.148 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005265/0.7439, allocations: 0.4906 MB / 0.6195 GB, free: 3.762 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.14e-05/0.744, allocations: 29.8 kB / 0.6195 GB, free: 3.727 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001257/0.7441, allocations: 249 kB / 0.6198 GB, free: 3.508 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001226/0.7443, allocations: 165.5 kB / 0.6199 GB, free: 3.367 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.81e-05/0.7443, allocations: 0 / 0.6199 GB, free: 3.367 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.7444, allocations: 386.1 kB / 0.6203 GB, free: 3.012 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003219/0.7448, allocations: 197.1 kB / 0.6205 GB, free: 2.891 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004009/0.7452, allocations: 353.2 kB / 0.6208 GB, free: 2.562 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003961/0.7456, allocations: 243.8 kB / 0.621 GB, free: 2.398 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.7456, allocations: 0 / 0.621 GB, free: 2.398 MB / 410.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.00102/0.7466, allocations: 0.6252 MB / 0.6216 GB, free: 1.91 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004963/0.7471, allocations: 1.744 MB / 0.6233 GB, free: 64 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.7471, allocations: 4 kB / 0.6234 GB, free: 60 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.7472, allocations: 8 kB / 0.6234 GB, free: 52 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007555/0.7479, allocations: 163.4 kB / 0.6235 GB, free: 15.89 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.7479, allocations: 8 kB / 0.6235 GB, free: 15.89 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005915/0.7485, allocations: 87.62 kB / 0.6236 GB, free: 15.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.1e-05/0.7486, allocations: 19.44 kB / 0.6236 GB, free: 15.79 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.925e-06/0.7486, allocations: 11.38 kB / 0.6236 GB, free: 15.78 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008244/0.7494, allocations: 0.5212 MB / 0.6241 GB, free: 15.39 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.7495, allocations: 4 kB / 0.6242 GB, free: 15.39 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.7495, allocations: 11.91 kB / 0.6242 GB, free: 15.38 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006681/0.7501, allocations: 159 kB / 0.6243 GB, free: 15.23 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.7502, allocations: 11.98 kB / 0.6243 GB, free: 15.21 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005421/0.7507, allocations: 71.64 kB / 0.6244 GB, free: 15.14 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.82e-05/0.7508, allocations: 25.5 kB / 0.6244 GB, free: 15.12 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (limPID.I.local_reset,pID.I.local_reset,limIntegrator.local_reset,integrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 77 * 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.0001225/0.7509, allocations: 128.2 kB / 0.6245 GB, free: 15 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001416/0.751, allocations: 75.06 kB / 0.6246 GB, free: 14.92 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001467/0.7512, allocations: 79.78 kB / 0.6247 GB, free: 14.87 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.7512, allocations: 8.031 kB / 0.6247 GB, free: 14.86 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.7512, allocations: 8 kB / 0.6247 GB, free: 14.86 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.7512, allocations: 0 / 0.6247 GB, free: 14.86 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009641/0.7522, allocations: 0.7435 MB / 0.6254 GB, free: 14.23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.7522, allocations: 0 / 0.6254 GB, free: 14.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000757/0.753, allocations: 123.8 kB / 0.6255 GB, free: 14.11 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.762e-06/0.753, allocations: 4 kB / 0.6256 GB, free: 14.11 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.249e-05/0.7531, allocations: 11.92 kB / 0.6256 GB, free: 14.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.019e-06/0.7531, allocations: 4 kB / 0.6256 GB, free: 14.09 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.7531, allocations: 3.938 kB / 0.6256 GB, free: 14.09 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00109/0.7542, allocations: 0.9639 MB / 0.6265 GB, free: 13.3 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001495/0.7557, allocations: 1.601 MB / 0.6281 GB, free: 11.98 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002213/0.7559, allocations: 191.4 kB / 0.6283 GB, free: 11.79 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001026/0.756, allocations: 11.55 kB / 0.6283 GB, free: 11.79 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006357/0.7567, allocations: 55.95 kB / 0.6283 GB, free: 11.73 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/0.7568, allocations: 38.31 kB / 0.6284 GB, free: 11.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.782e-05/0.7568, allocations: 8 kB / 0.6284 GB, free: 11.69 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0003715/0.7572, allocations: 386.5 kB / 0.6287 GB, free: 11.41 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001961/0.7592, allocations: 171.6 kB / 0.6289 GB, free: 11.25 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (limPID.I.y,limPID.D.x,transferFunction.x_scaled[1],stateSpace.x[1],stateSpace.x[2],lowpassButterworth.x1[1],lowpassButterworth.x2[1],criticalDamping.x[1],criticalDamping.x[2],integrator.y,limIntegrator.y,derivative.x,firstOrder.y,secondOrder.y,secondOrder.yd,pI.x,pID.I.y,pID.D.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 44 * 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.0001453/0.7593, allocations: 115.1 kB / 0.629 GB, free: 11.12 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001159/0.7605, allocations: 0.7996 MB / 0.6298 GB, free: 10.55 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.7605, allocations: 0 / 0.6298 GB, free: 10.55 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003314/0.7608, allocations: 213.7 kB / 0.63 GB, free: 10.41 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008182/0.7617, allocations: 163.3 kB / 0.6301 GB, free: 10.29 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002352/0.764, allocations: 1.205 MB / 0.6313 GB, free: 9.148 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007531/0.7648, allocations: 1.054 MB / 0.6324 GB, free: 8.078 MB / 426.7 MB Notification: Performance of SimCode: time 3.01e-07/0.7648, allocations: 0 / 0.6324 GB, free: 8.078 MB / 426.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.Continuous.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.Continuous.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.Continuous.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.Continuous.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Blocks_Continuous_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Blocks_Continuous.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.Continuous.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_res.mat does not exist to compare? outputFormat=mat