Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.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.BaseClasses.Validation.PowerInterface,fileNamePrefix="IDEAS_IDEAS_Fluid_Movers_BaseClasses_Validation_PowerInterface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface,fileNamePrefix="IDEAS_IDEAS_Fluid_Movers_BaseClasses_Validation_PowerInterface",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.003649/0.003649, allocations: 181.3 kB / 7.456 MB, free: 2.238 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.709/0.709, allocations: 133.5 MB / 141.4 MB, free: 15.77 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.534/1.534, allocations: 221.3 MB / 395 MB, free: 10.25 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.001046/0.001046, allocations: 89.17 kB / 477.8 MB, free: 10.84 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.418/0.4191, allocations: 88.44 MB / 0.5529 GB, free: 88.97 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1741/0.5932, allocations: 82.31 MB / 0.6333 GB, free: 13.99 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5462/1.139, allocations: 111.4 MB / 0.7421 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002057/1.14, allocations: 76.78 kB / 0.7422 GB, free: 10.77 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.009455/1.149, allocations: 3.277 MB / 0.7454 GB, free: 26.23 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/1.149, allocations: 7.5 kB / 0.7454 GB, free: 26.23 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000959/1.15, allocations: 112 kB / 0.7455 GB, free: 26.21 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001635/1.15, allocations: 171.6 kB / 0.7457 GB, free: 26.01 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.17e-05/1.15, allocations: 3.812 kB / 0.7457 GB, free: 26.01 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.195e-05/1.15, allocations: 4.438 kB / 0.7457 GB, free: 26.01 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001737/1.151, allocations: 67.25 kB / 0.7458 GB, free: 26 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001888/1.151, allocations: 95.91 kB / 0.7459 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.712e-06/1.151, allocations: 0 / 0.7459 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.196e-05/1.151, allocations: 4.656 kB / 0.7459 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/1.151, allocations: 3.906 kB / 0.7459 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001109/1.152, allocations: 426.7 kB / 0.7463 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001311/1.152, allocations: 64.44 kB / 0.7463 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.24e-05/1.152, allocations: 34.83 kB / 0.7464 GB, free: 25.67 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.402e-05/1.152, allocations: 4.594 kB / 0.7464 GB, free: 25.67 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.879e-05/1.152, allocations: 35.3 kB / 0.7464 GB, free: 25.63 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=5): time 1.302e-06/1.152, allocations: 4 kB / 0.7464 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of matching and sorting (n=5): time 0.0002749/1.153, allocations: 83.38 kB / 0.7465 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.726e-05/1.153, allocations: 55.97 kB / 0.7465 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001191/1.153, allocations: 117.2 kB / 0.7466 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.301e-05/1.153, allocations: 29.64 kB / 0.7467 GB, free: 25.4 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.495e-05/1.153, allocations: 102.4 kB / 0.7468 GB, free: 25.31 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.138e-05/1.153, allocations: 17.14 kB / 0.7468 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.758e-06/1.153, allocations: 3.781 kB / 0.7468 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002079/1.153, allocations: 324.5 kB / 0.7471 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.143e-05/1.153, allocations: 24.14 kB / 0.7471 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.084e-05/1.153, allocations: 26.66 kB / 0.7472 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.922e-05/1.153, allocations: 24.84 kB / 0.7472 GB, free: 24.97 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/1.153, allocations: 1.281 kB / 0.7472 GB, free: 24.97 MB / 0.5105 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002328/1.154, allocations: 101.3 kB / 0.7473 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.824e-05/1.154, allocations: 95.22 kB / 0.7474 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/1.154, allocations: 0 / 0.7474 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/1.154, allocations: 4.703 kB / 0.7474 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003631/1.154, allocations: 47.36 kB / 0.7474 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/1.154, allocations: 4.656 kB / 0.7474 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002769/1.154, allocations: 26.8 kB / 0.7474 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.35e-05/1.154, allocations: 10.3 kB / 0.7475 GB, free: 24.83 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.047e-06/1.154, allocations: 7.875 kB / 0.7475 GB, free: 24.83 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 7.503e-05/1.154, allocations: 23.81 kB / 0.7475 GB, free: 24.83 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.664e-06/1.154, allocations: 0.6562 kB / 0.7475 GB, free: 24.83 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-06/1.154, allocations: 3.906 kB / 0.7475 GB, free: 24.83 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001025/1.155, allocations: 26.38 kB / 0.7475 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-06/1.155, allocations: 0 / 0.7475 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.509e-05/1.155, allocations: 14.3 kB / 0.7475 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.958e-06/1.155, allocations: 0 / 0.7475 GB, free: 24.82 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.000109/1.155, allocations: 105.6 kB / 0.7476 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.611e-05/1.155, allocations: 7.781 kB / 0.7476 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.486e-05/1.155, allocations: 16.45 kB / 0.7477 GB, free: 24.69 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/1.155, allocations: 0.6562 kB / 0.7477 GB, free: 24.69 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.952e-06/1.155, allocations: 0 / 0.7477 GB, free: 24.69 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/1.155, allocations: 0 / 0.7477 GB, free: 24.69 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005231/1.155, allocations: 370.5 kB / 0.748 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/1.156, allocations: 3.844 kB / 0.748 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003079/1.156, allocations: 44.98 kB / 0.7481 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.063e-06/1.156, allocations: 3.938 kB / 0.7481 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2e-05/1.156, allocations: 5.766 kB / 0.7481 GB, free: 24.38 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/1.156, allocations: 8.484 kB / 0.7481 GB, free: 24.38 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/1.156, allocations: 7.938 kB / 0.7481 GB, free: 24.37 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002761/1.156, allocations: 218.5 kB / 0.7483 GB, free: 24.19 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004441/1.157, allocations: 0.5917 MB / 0.7489 GB, free: 23.63 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001042/1.157, allocations: 94.7 kB / 0.749 GB, free: 23.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.383e-05/1.157, allocations: 0.75 kB / 0.749 GB, free: 23.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002955/1.157, allocations: 42.61 kB / 0.749 GB, free: 23.52 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.019e-05/1.157, allocations: 2.344 kB / 0.749 GB, free: 23.52 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.556e-05/1.157, allocations: 10.25 kB / 0.749 GB, free: 23.52 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.104e-05/1.157, allocations: 99.06 kB / 0.7491 GB, free: 23.44 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001524/1.159, allocations: 35.44 kB / 0.7491 GB, free: 23.43 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.0001859/1.159, allocations: 95.92 kB / 0.7492 GB, free: 23.35 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002528/1.159, allocations: 84.81 kB / 0.7493 GB, free: 23.34 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/1.159, allocations: 3.812 kB / 0.7493 GB, free: 23.34 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 7.551e-05/1.159, allocations: 30.56 kB / 0.7493 GB, free: 23.34 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002275/1.16, allocations: 8.016 kB / 0.7493 GB, free: 23.34 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009404/1.161, allocations: 191.1 kB / 0.7495 GB, free: 23.23 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000629/1.161, allocations: 0.7217 MB / 0.7502 GB, free: 22.52 MB / 0.5105 GB Notification: Performance of SimCode: time 2.3e-07/1.161, allocations: 0 / 0.7502 GB, free: 22.52 MB / 0.5105 GB (rm -f IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; mkfifo IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe >> ../files/IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Movers_BaseClasses_Validation_PowerInterface_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Movers_BaseClasses_Validation_PowerInterface.fmu > IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1)