Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_Movers_Examples_ClosedLoop_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.Examples.ClosedLoop_y,fileNamePrefix="IDEAS_dev_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.003206/0.003206, allocations: 182.9 kB / 7.461 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6941/0.6941, allocations: 133.5 MB / 141.4 MB, free: 15.71 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.453/1.453, allocations: 221.3 MB / 395 MB, free: 10.2 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.0009785/0.0009786, allocations: 102.4 kB / 477.8 MB, free: 10.8 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3755/0.3765, allocations: 88.42 MB / 0.5529 GB, free: 89.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1593/0.5358, allocations: 82.3 MB / 0.6333 GB, free: 14.02 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.777/4.313, allocations: 1.91 GB / 2.544 GB, free: 49.89 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002159/4.314, allocations: 91.95 kB / 2.544 GB, free: 49.8 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 2.869/7.182, allocations: 0.8122 GB / 3.356 GB, free: 13.84 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/7.182, allocations: 8 kB / 3.356 GB, free: 13.83 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004056/7.186, allocations: 457.3 kB / 3.356 GB, free: 13.38 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006852/7.193, allocations: 1.857 MB / 3.358 GB, free: 11.47 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.293e-05/7.193, allocations: 35.91 kB / 3.358 GB, free: 11.43 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005247/7.194, allocations: 67.98 kB / 3.358 GB, free: 11.37 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002231/7.196, allocations: 0.8591 MB / 3.359 GB, free: 10.51 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002384/7.198, allocations: 1.008 MB / 3.36 GB, free: 9.461 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.836e-05/7.199, allocations: 4 kB / 3.36 GB, free: 9.457 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001462/7.199, allocations: 0 / 3.36 GB, free: 9.457 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.895e-05/7.199, allocations: 37.98 kB / 3.36 GB, free: 9.422 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009727/7.208, allocations: 5.008 MB / 3.365 GB, free: 4.113 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001363/7.21, allocations: 0.7584 MB / 3.366 GB, free: 3.348 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007725/7.211, allocations: 442.1 kB / 3.366 GB, free: 2.914 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003197/7.211, allocations: 190.8 kB / 3.366 GB, free: 2.691 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007726/7.212, allocations: 450.9 kB / 3.367 GB, free: 2.234 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=72): time 4.207e-06/7.212, allocations: 0 / 3.367 GB, free: 2.234 MB / 0.6823 GB Notification: Performance of matching and sorting (n=72): time 0.003336/7.215, allocations: 0.913 MB / 3.368 GB, free: 1.312 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.07e-05/7.215, allocations: 111.5 kB / 3.368 GB, free: 1.176 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002045/7.217, allocations: 0.8929 MB / 3.369 GB, free: 284 kB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001715/7.217, allocations: 25.7 kB / 3.369 GB, free: 252 kB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007899/7.218, allocations: 444.9 kB / 3.369 GB, free: 15.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004039/7.219, allocations: 240.4 kB / 3.369 GB, free: 15.56 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.458e-05/7.219, allocations: 0 / 3.369 GB, free: 15.56 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001819/7.219, allocations: 341.9 kB / 3.37 GB, free: 15.22 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006079/7.22, allocations: 305.9 kB / 3.37 GB, free: 14.92 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008047/7.22, allocations: 0.5667 MB / 3.37 GB, free: 14.25 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001058/7.221, allocations: 418.5 kB / 3.371 GB, free: 13.84 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.197e-06/7.222, allocations: 0 / 3.371 GB, free: 13.84 MB / 0.698 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002613/7.224, allocations: 1.044 MB / 3.372 GB, free: 12.79 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009819/7.225, allocations: 2.033 MB / 3.374 GB, free: 10.62 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.435e-05/7.225, allocations: 8 kB / 3.374 GB, free: 10.61 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004651/7.226, allocations: 104.8 kB / 3.374 GB, free: 10.51 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001152/7.227, allocations: 211.7 kB / 3.374 GB, free: 10.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001136/7.228, allocations: 1.287 MB / 3.375 GB, free: 8.965 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001673/7.23, allocations: 127.3 kB / 3.376 GB, free: 8.84 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001675/7.23, allocations: 51.97 kB / 3.376 GB, free: 8.789 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/7.23, allocations: 4.781 kB / 3.376 GB, free: 8.785 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002067/7.232, allocations: 0.8449 MB / 3.376 GB, free: 7.938 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.575e-05/7.232, allocations: 4 kB / 3.376 GB, free: 7.934 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004944/7.232, allocations: 104.7 kB / 3.377 GB, free: 7.828 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009179/7.233, allocations: 200 kB / 3.377 GB, free: 7.633 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005028/7.238, allocations: 2.633 MB / 3.379 GB, free: 4.812 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001788/7.24, allocations: 115.4 kB / 3.379 GB, free: 4.699 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002122/7.24, allocations: 44.05 kB / 3.379 GB, free: 4.656 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.0004433/7.241, allocations: 132.6 kB / 3.38 GB, free: 4.52 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004934/7.241, allocations: 130.4 kB / 3.38 GB, free: 4.391 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002765/7.244, allocations: 0.8882 MB / 3.381 GB, free: 3.492 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-05/7.244, allocations: 4 kB / 3.381 GB, free: 3.488 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/7.244, allocations: 4 kB / 3.381 GB, free: 3.484 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00179/7.246, allocations: 0.7845 MB / 3.381 GB, free: 2.664 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005469/7.252, allocations: 2.052 MB / 3.383 GB, free: 0.5547 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.91e-06/7.252, allocations: 0 / 3.383 GB, free: 0.5547 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009859/7.253, allocations: 171.9 kB / 3.383 GB, free: 396 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002033/7.253, allocations: 60.81 kB / 3.384 GB, free: 332 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.829e-05/7.253, allocations: 15.98 kB / 3.384 GB, free: 316 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4588/7.712, allocations: 1.208 MB / 3.385 GB, free: 158.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.307e-06/7.712, allocations: 3.938 kB / 3.385 GB, free: 158.5 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002887/7.715, allocations: 1.406 MB / 3.386 GB, free: 158.3 MB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003698/7.718, allocations: 2.333 MB / 3.388 GB, free: 157.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000975/7.719, allocations: 291.1 kB / 3.389 GB, free: 157.6 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004861/7.72, allocations: 10.73 kB / 3.389 GB, free: 157.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001314/7.721, allocations: 74.78 kB / 3.389 GB, free: 157.6 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001471/7.721, allocations: 51.25 kB / 3.389 GB, free: 157.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.383e-05/7.722, allocations: 31.22 kB / 3.389 GB, free: 157.5 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.001245/7.723, allocations: 0.6736 MB / 3.389 GB, free: 157.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.006077/7.729, allocations: 1.573 MB / 3.391 GB, free: 157.4 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.00378/7.733, allocations: 2.873 MB / 3.394 GB, free: 156.6 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003005/7.736, allocations: 1.443 MB / 3.395 GB, free: 156.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/7.736, allocations: 0 / 3.395 GB, free: 156.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006779/7.736, allocations: 388.3 kB / 3.396 GB, free: 156.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002968/7.739, allocations: 0.5411 MB / 3.396 GB, free: 156.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004671/7.744, allocations: 2.04 MB / 3.398 GB, free: 155.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001225/7.745, allocations: 1.43 MB / 3.4 GB, free: 155.2 MB / 0.698 GB Notification: Performance of SimCode: time 2.054e-06/7.745, allocations: 2.062 kB / 3.4 GB, free: 155.2 MB / 0.698 GB (rm -f IDEAS_dev_IDEAS.Fluid.Movers.Examples.ClosedLoop_y.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Movers.Examples.ClosedLoop_y.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Movers.Examples.ClosedLoop_y.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Movers.Examples.ClosedLoop_y.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Movers_Examples_ClosedLoop_y_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Movers_Examples_ClosedLoop_y.fmu > IDEAS_dev_IDEAS.Fluid.Movers.Examples.ClosedLoop_y.pipe 2>&1)