Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput.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_InitialOutput,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_Continuous_InitialOutput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_InitialOutput,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_Continuous_InitialOutput",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.001014/0.001014, allocations: 203 kB / 8.542 MB, free: 1.812 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.14/1.14, allocations: 225.5 MB / 234.4 MB, free: 3.32 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008952/0.0008953, allocations: 93.02 kB / 286.3 MB, free: 5.297 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1637/0.1637, allocations: 45.14 MB / 383.3 MB, free: 0.5312 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1979/0.3617, allocations: 69.37 MB / 452.7 MB, free: 76.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08421/0.4459, allocations: 63.24 MB / 0.5039 GB, free: 12.92 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.263/0.709, allocations: 97.28 MB / 0.5989 GB, free: 5.586 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001712/0.7092, allocations: 64.09 kB / 0.5989 GB, free: 5.555 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.08392/0.7931, allocations: 29.8 MB / 0.628 GB, free: 12.52 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.009e-05/0.7932, allocations: 11.94 kB / 0.628 GB, free: 12.51 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003504/0.7935, allocations: 110.8 kB / 0.6281 GB, free: 12.4 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001073/0.7946, allocations: 0.5817 MB / 0.6287 GB, free: 11.85 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.738e-05/0.7947, allocations: 12 kB / 0.6287 GB, free: 11.84 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.344e-05/0.7947, allocations: 39.22 kB / 0.6288 GB, free: 11.8 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006153/0.7954, allocations: 329.4 kB / 0.6291 GB, free: 11.59 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007314/0.7961, allocations: 0.4907 MB / 0.6296 GB, free: 11.16 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.857e-05/0.7961, allocations: 3.438 kB / 0.6296 GB, free: 11.16 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.229e-05/0.7962, allocations: 0 / 0.6296 GB, free: 11.16 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.202e-05/0.7962, allocations: 16 kB / 0.6296 GB, free: 11.14 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003224/0.7994, allocations: 2.559 MB / 0.6321 GB, free: 8.836 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004725/0.7999, allocations: 335.7 kB / 0.6324 GB, free: 8.578 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002722/0.8002, allocations: 198.3 kB / 0.6326 GB, free: 8.441 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.731e-05/0.8003, allocations: 12.08 kB / 0.6326 GB, free: 8.43 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.119e-05/0.8003, allocations: 46.36 kB / 0.6326 GB, free: 8.379 MB / 426.7 MB Notification: Performance of pre-optimization done (n=45): time 1.503e-06/0.8003, allocations: 0 / 0.6326 GB, free: 8.379 MB / 426.7 MB Notification: Performance of matching and sorting (n=46): time 0.001274/0.8016, allocations: 0.7735 MB / 0.6334 GB, free: 7.703 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.751e-05/0.8016, allocations: 110.8 kB / 0.6335 GB, free: 7.57 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005203/0.8022, allocations: 492.6 kB / 0.634 GB, free: 7.191 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.917e-05/0.8022, allocations: 25.7 kB / 0.634 GB, free: 7.16 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001353/0.8024, allocations: 255.7 kB / 0.6342 GB, free: 6.938 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001442/0.8025, allocations: 170.3 kB / 0.6344 GB, free: 6.793 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.974e-05/0.8025, allocations: 0 / 0.6344 GB, free: 6.793 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.8027, allocations: 391.5 kB / 0.6348 GB, free: 6.434 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003275/0.803, allocations: 195.9 kB / 0.635 GB, free: 6.312 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004047/0.8034, allocations: 341.3 kB / 0.6353 GB, free: 5.996 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004599/0.8039, allocations: 258.9 kB / 0.6355 GB, free: 5.82 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.8039, allocations: 0 / 0.6355 GB, free: 5.82 MB / 426.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001043/0.805, allocations: 0.6313 MB / 0.6361 GB, free: 5.32 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005383/0.8055, allocations: 1.742 MB / 0.6378 GB, free: 3.473 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.8055, allocations: 4 kB / 0.6378 GB, free: 3.469 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.8056, allocations: 8 kB / 0.6379 GB, free: 3.461 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001141/0.8067, allocations: 207.3 kB / 0.6381 GB, free: 3.262 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.8067, allocations: 11.94 kB / 0.6381 GB, free: 3.25 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005824/0.8073, allocations: 83.48 kB / 0.6381 GB, free: 3.168 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.214e-05/0.8074, allocations: 35.17 kB / 0.6382 GB, free: 3.141 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.702e-06/0.8074, allocations: 7.438 kB / 0.6382 GB, free: 3.137 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009061/0.8083, allocations: 0.5181 MB / 0.6387 GB, free: 2.754 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.8083, allocations: 4 kB / 0.6387 GB, free: 2.75 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.806e-06/0.8083, allocations: 8 kB / 0.6387 GB, free: 2.742 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001053/0.8094, allocations: 214.3 kB / 0.6389 GB, free: 2.539 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.8094, allocations: 8 kB / 0.6389 GB, free: 2.531 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005508/0.81, allocations: 75.55 kB / 0.639 GB, free: 2.457 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.454e-05/0.81, allocations: 28.81 kB / 0.639 GB, free: 2.434 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 (78): * Single equations (assignments): 77 * Array equations: 1 * 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.0001257/0.8102, allocations: 121 kB / 0.6391 GB, free: 2.309 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001512/0.8103, allocations: 79.05 kB / 0.6392 GB, free: 2.23 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001693/0.8105, allocations: 79.58 kB / 0.6393 GB, free: 2.191 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.8105, allocations: 4 kB / 0.6393 GB, free: 2.188 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.8105, allocations: 4 kB / 0.6393 GB, free: 2.184 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.8105, allocations: 3.984 kB / 0.6393 GB, free: 2.18 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001533/0.8121, allocations: 1.124 MB / 0.6404 GB, free: 1.246 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.8121, allocations: 0 / 0.6404 GB, free: 1.246 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007432/0.8128, allocations: 123.1 kB / 0.6405 GB, free: 1.129 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.041e-06/0.8129, allocations: 4.094 kB / 0.6405 GB, free: 1.125 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.105e-05/0.8129, allocations: 11.23 kB / 0.6405 GB, free: 1.117 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.8129, allocations: 4 kB / 0.6405 GB, free: 1.113 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.8129, allocations: 7.891 kB / 0.6405 GB, free: 1.105 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001136/0.8141, allocations: 1.007 MB / 0.6415 GB, free: 260 kB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00149/0.8156, allocations: 1.632 MB / 0.6431 GB, free: 14.88 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002328/0.8158, allocations: 195 kB / 0.6433 GB, free: 14.7 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.961e-05/0.8159, allocations: 11.92 kB / 0.6433 GB, free: 14.69 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006167/0.8166, allocations: 55.95 kB / 0.6434 GB, free: 14.63 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/0.8167, allocations: 39.75 kB / 0.6434 GB, free: 14.6 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.21e-05/0.8167, allocations: 15.38 kB / 0.6434 GB, free: 14.59 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.000379/0.8171, allocations: 378.1 kB / 0.6438 GB, free: 14.31 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002047/0.8192, allocations: 211 kB / 0.644 GB, free: 14.11 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (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.000292/0.8195, allocations: 162.9 kB / 0.6441 GB, free: 13.94 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001353/0.8208, allocations: 0.7951 MB / 0.6449 GB, free: 13.38 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.8208, allocations: 4.062 kB / 0.6449 GB, free: 13.37 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003453/0.8212, allocations: 222.9 kB / 0.6451 GB, free: 13.22 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008545/0.822, allocations: 146.9 kB / 0.6453 GB, free: 13.11 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002364/0.8244, allocations: 1.22 MB / 0.6465 GB, free: 11.95 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007533/0.8252, allocations: 1.059 MB / 0.6475 GB, free: 10.88 MB / 442.7 MB Notification: Performance of SimCode: time 4.5e-07/0.8252, allocations: 0 / 0.6475 GB, free: 10.88 MB / 442.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Blocks_Continuous_InitialOutput_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Blocks_Continuous_InitialOutput.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput.pipe 2>&1)