Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Movers.Examples.ClosedLoop_y.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/IDEAS 3.0.0-master/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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(IDEAS.Fluid.Movers.Examples.ClosedLoop_y,fileNamePrefix="IDEAS_IDEAS_Fluid_Movers_Examples_ClosedLoop_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.Examples.ClosedLoop_y,fileNamePrefix="IDEAS_IDEAS_Fluid_Movers_Examples_ClosedLoop_y",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.003351/0.003351, allocations: 178.3 kB / 7.455 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7577/0.7577, allocations: 133.5 MB / 141.4 MB, free: 15.66 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.864/1.864, allocations: 221.4 MB / 395 MB, free: 10.1 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 110 kB / 477.8 MB, free: 10.66 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4834/0.4845, allocations: 88.42 MB / 0.5529 GB, free: 89.17 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2004/0.685, allocations: 82.3 MB / 0.6333 GB, free: 13.85 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.921/4.606, allocations: 1.91 GB / 2.544 GB, free: 50.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002709/4.606, allocations: 95.94 kB / 2.544 GB, free: 50 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 242 * Number of variables: 242 Notification: Performance of Generate backend data structure: time 3.175/7.782, allocations: 0.8122 GB / 3.356 GB, free: 13.8 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/7.782, allocations: 8 kB / 3.356 GB, free: 13.79 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00353/7.785, allocations: 468.6 kB / 3.356 GB, free: 13.33 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004804/7.79, allocations: 1.85 MB / 3.358 GB, free: 11.43 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.143e-05/7.79, allocations: 31.91 kB / 3.358 GB, free: 11.39 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001905/7.791, allocations: 64 kB / 3.358 GB, free: 11.33 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001641/7.792, allocations: 0.863 MB / 3.359 GB, free: 10.47 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001535/7.794, allocations: 1.016 MB / 3.36 GB, free: 9.414 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.02e-05/7.794, allocations: 3.938 kB / 3.36 GB, free: 9.41 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.185e-05/7.794, allocations: 0 / 3.36 GB, free: 9.41 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.163e-05/7.794, allocations: 34 kB / 3.36 GB, free: 9.379 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007222/7.801, allocations: 5.003 MB / 3.365 GB, free: 4.074 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001115/7.802, allocations: 0.7622 MB / 3.366 GB, free: 3.305 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005875/7.803, allocations: 439.2 kB / 3.366 GB, free: 2.871 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002718/7.803, allocations: 190.8 kB / 3.366 GB, free: 2.648 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005948/7.804, allocations: 446.9 kB / 3.367 GB, free: 2.195 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=72): time 3.025e-06/7.804, allocations: 4.547 kB / 3.367 GB, free: 2.191 MB / 0.6823 GB Notification: Performance of matching and sorting (n=72): time 0.002615/7.806, allocations: 0.9091 MB / 3.368 GB, free: 1.273 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.684e-05/7.807, allocations: 111.5 kB / 3.368 GB, free: 1.137 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001202/7.808, allocations: 0.889 MB / 3.369 GB, free: 248 kB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001023/7.808, allocations: 37.7 kB / 3.369 GB, free: 204 kB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004694/7.808, allocations: 443.4 kB / 3.369 GB, free: 15.75 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003183/7.809, allocations: 236.4 kB / 3.369 GB, free: 15.52 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.702e-05/7.809, allocations: 224 / 3.369 GB, free: 15.52 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002319/7.809, allocations: 341.9 kB / 3.37 GB, free: 15.18 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005148/7.809, allocations: 309.9 kB / 3.37 GB, free: 14.88 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000734/7.81, allocations: 0.5706 MB / 3.37 GB, free: 14.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008977/7.811, allocations: 414.5 kB / 3.371 GB, free: 13.79 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.624e-06/7.811, allocations: 4 kB / 3.371 GB, free: 13.79 MB / 0.698 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002091/7.813, allocations: 1.036 MB / 3.372 GB, free: 12.75 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008966/7.814, allocations: 2.037 MB / 3.374 GB, free: 10.57 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/7.814, allocations: 4 kB / 3.374 GB, free: 10.57 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004276/7.815, allocations: 100.8 kB / 3.374 GB, free: 10.46 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001128/7.816, allocations: 215.6 kB / 3.374 GB, free: 10.25 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001083/7.817, allocations: 1.298 MB / 3.375 GB, free: 8.906 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001609/7.818, allocations: 123.3 kB / 3.376 GB, free: 8.785 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000132/7.819, allocations: 47.98 kB / 3.376 GB, free: 8.738 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/7.819, allocations: 4 kB / 3.376 GB, free: 8.734 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002107/7.821, allocations: 0.8411 MB / 3.376 GB, free: 7.891 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/7.821, allocations: 8 kB / 3.376 GB, free: 7.883 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004975/7.821, allocations: 108.7 kB / 3.377 GB, free: 7.773 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000915/7.822, allocations: 203.8 kB / 3.377 GB, free: 7.574 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005252/7.827, allocations: 2.616 MB / 3.379 GB, free: 4.773 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0018/7.829, allocations: 115.4 kB / 3.379 GB, free: 4.66 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001112/7.829, allocations: 48.05 kB / 3.379 GB, free: 4.613 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.y.T_start,y.T_start,$PRE.y.count,y.count,conPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 95 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0004345/7.83, allocations: 139.6 kB / 3.38 GB, free: 4.473 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002553/7.83, allocations: 130.3 kB / 3.38 GB, free: 4.344 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002297/7.832, allocations: 0.8843 MB / 3.381 GB, free: 3.449 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.757e-06/7.832, allocations: 8 kB / 3.381 GB, free: 3.441 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/7.832, allocations: 3.984 kB / 3.381 GB, free: 3.438 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001454/7.834, allocations: 0.7846 MB / 3.381 GB, free: 2.617 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004281/7.838, allocations: 2.052 MB / 3.383 GB, free: 0.5078 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.93e-06/7.838, allocations: 0 / 3.383 GB, free: 0.5078 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009925/7.839, allocations: 175.8 kB / 3.383 GB, free: 344 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002018/7.839, allocations: 60.89 kB / 3.384 GB, free: 280 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.398e-05/7.84, allocations: 15.89 kB / 3.384 GB, free: 264 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4298/8.269, allocations: 1.202 MB / 3.385 GB, free: 157.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.025e-05/8.269, allocations: 7.438 kB / 3.385 GB, free: 157.6 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002862/8.272, allocations: 1.405 MB / 3.386 GB, free: 157.4 MB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003122/8.275, allocations: 2.329 MB / 3.388 GB, free: 156.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007638/8.276, allocations: 292.8 kB / 3.389 GB, free: 156.6 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001895/8.276, allocations: 6 kB / 3.389 GB, free: 156.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009523/8.277, allocations: 78.48 kB / 3.389 GB, free: 156.6 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001252/8.277, allocations: 48.89 kB / 3.389 GB, free: 156.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.368e-05/8.278, allocations: 29.94 kB / 3.389 GB, free: 156.6 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.001029/8.279, allocations: 0.6803 MB / 3.389 GB, free: 156.5 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.005241/8.284, allocations: 1.581 MB / 3.391 GB, free: 156.5 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (fan.vol.dynBal.U,fan.vol.dynBal.m,fan.vol.dynBal.mXi[1],fan.filter.s[1],fan.filter.s[2],conPID.I.y) * Number of discrete variables: 3 ($whenCondition1,y.T_start,y.count) * Number of discrete states: 1 (y.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.004302/8.288, allocations: 2.86 MB / 3.394 GB, free: 155.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003078/8.291, allocations: 1.442 MB / 3.395 GB, free: 155.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/8.291, allocations: 0 / 3.395 GB, free: 155.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007109/8.292, allocations: 392.9 kB / 3.396 GB, free: 155.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003002/8.295, allocations: 0.5398 MB / 3.396 GB, free: 155.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004708/8.3, allocations: 2.05 MB / 3.398 GB, free: 155 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001085/8.301, allocations: 1.432 MB / 3.4 GB, free: 154.3 MB / 0.698 GB Notification: Performance of SimCode: time 1.222e-06/8.301, allocations: 3.969 kB / 3.4 GB, free: 154.3 MB / 0.698 GB (rm -f IDEAS_IDEAS.Fluid.Movers.Examples.ClosedLoop_y.pipe ; mkfifo IDEAS_IDEAS.Fluid.Movers.Examples.ClosedLoop_y.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Movers.Examples.ClosedLoop_y.pipe >> ../files/IDEAS_IDEAS.Fluid.Movers.Examples.ClosedLoop_y.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Movers_Examples_ClosedLoop_y_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Movers_Examples_ClosedLoop_y.fmu > IDEAS_IDEAS.Fluid.Movers.Examples.ClosedLoop_y.pipe 2>&1)