Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_Movers_BaseClasses_Validation_PowerInterface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface,fileNamePrefix="IDEAS_dev_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.003428/0.003428, allocations: 183.7 kB / 7.456 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6916/0.6916, allocations: 133.5 MB / 141.4 MB, free: 15.65 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.483/1.483, allocations: 221.3 MB / 395 MB, free: 10.17 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.0009353/0.0009351, allocations: 96.52 kB / 477.8 MB, free: 10.79 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4238/0.4248, allocations: 88.44 MB / 0.5529 GB, free: 89.09 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1765/0.6013, allocations: 82.3 MB / 0.6333 GB, free: 13.98 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5313/1.133, allocations: 111.4 MB / 0.7421 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000187/1.133, allocations: 81.11 kB / 0.7422 GB, free: 10.71 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.008716/1.142, allocations: 3.267 MB / 0.7454 GB, free: 26.17 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/1.142, allocations: 15.66 kB / 0.7454 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008446/1.142, allocations: 108.4 kB / 0.7455 GB, free: 26.15 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/1.143, allocations: 172.3 kB / 0.7457 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/1.143, allocations: 3.844 kB / 0.7457 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.903e-05/1.143, allocations: 3.844 kB / 0.7457 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001583/1.143, allocations: 62.95 kB / 0.7458 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001582/1.143, allocations: 93.42 kB / 0.7458 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.844e-06/1.143, allocations: 7.922 kB / 0.7459 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.743e-05/1.143, allocations: 4.891 kB / 0.7459 GB, free: 25.9 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/1.143, allocations: 11.69 kB / 0.7459 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001073/1.144, allocations: 423.8 kB / 0.7463 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001357/1.144, allocations: 69.53 kB / 0.7463 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.106e-05/1.144, allocations: 29.09 kB / 0.7464 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.5e-05/1.144, allocations: 1.688 kB / 0.7464 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.553e-05/1.144, allocations: 38.31 kB / 0.7464 GB, free: 25.56 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=5): time 1.383e-06/1.144, allocations: 0 / 0.7464 GB, free: 25.56 MB / 0.5105 GB Notification: Performance of matching and sorting (n=5): time 0.0002452/1.145, allocations: 83.22 kB / 0.7465 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.998e-05/1.145, allocations: 56.56 kB / 0.7465 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.746e-05/1.145, allocations: 117 kB / 0.7466 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.901e-05/1.145, allocations: 33.64 kB / 0.7467 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.771e-05/1.145, allocations: 103.7 kB / 0.7468 GB, free: 25.24 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.603e-05/1.145, allocations: 16.7 kB / 0.7468 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.067e-06/1.145, allocations: 0 / 0.7468 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001003/1.145, allocations: 320.2 kB / 0.7471 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.095e-05/1.145, allocations: 23.5 kB / 0.7471 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.89e-05/1.145, allocations: 29.55 kB / 0.7472 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.475e-05/1.145, allocations: 29.03 kB / 0.7472 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/1.145, allocations: 0 / 0.7472 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001701/1.145, allocations: 103.6 kB / 0.7473 GB, free: 24.87 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 5.446e-05/1.145, allocations: 89.95 kB / 0.7474 GB, free: 24.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/1.145, allocations: 3.875 kB / 0.7474 GB, free: 24.78 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/1.145, allocations: 0 / 0.7474 GB, free: 24.78 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003319/1.146, allocations: 47.53 kB / 0.7474 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/1.146, allocations: 3.844 kB / 0.7474 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002599/1.146, allocations: 31.09 kB / 0.7474 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.936e-05/1.146, allocations: 2.766 kB / 0.7474 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.752e-06/1.146, allocations: 7.656 kB / 0.7475 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 6.575e-05/1.146, allocations: 28.06 kB / 0.7475 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.11e-07/1.146, allocations: 0 / 0.7475 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-06/1.146, allocations: 0 / 0.7475 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.123e-05/1.146, allocations: 30.52 kB / 0.7475 GB, free: 24.76 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.765e-06/1.146, allocations: 4.469 kB / 0.7475 GB, free: 24.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.924e-05/1.146, allocations: 6.172 kB / 0.7475 GB, free: 24.76 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.669e-06/1.146, allocations: 3.812 kB / 0.7475 GB, free: 24.76 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 8.077e-05/1.146, allocations: 109.5 kB / 0.7476 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.346e-05/1.147, allocations: 7.812 kB / 0.7476 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.704e-05/1.147, allocations: 12.39 kB / 0.7476 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/1.147, allocations: 0 / 0.7476 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/1.147, allocations: 0.7031 kB / 0.7476 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/1.147, allocations: 3.938 kB / 0.7477 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004078/1.147, allocations: 372.3 kB / 0.748 GB, free: 24.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/1.147, allocations: 3.969 kB / 0.748 GB, free: 24.33 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003007/1.147, allocations: 44.28 kB / 0.7481 GB, free: 24.32 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/1.147, allocations: 4.641 kB / 0.7481 GB, free: 24.32 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.929e-05/1.147, allocations: 5.562 kB / 0.7481 GB, free: 24.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/1.147, allocations: 8.656 kB / 0.7481 GB, free: 24.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/1.147, allocations: 3.938 kB / 0.7481 GB, free: 24.31 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000244/1.148, allocations: 220.8 kB / 0.7483 GB, free: 24.12 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003258/1.148, allocations: 0.5904 MB / 0.7489 GB, free: 23.57 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 7.492e-05/1.148, allocations: 93.47 kB / 0.749 GB, free: 23.47 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.009e-05/1.148, allocations: 0.6562 kB / 0.749 GB, free: 23.47 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003016/1.148, allocations: 39.17 kB / 0.749 GB, free: 23.46 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.257e-05/1.148, allocations: 9.125 kB / 0.749 GB, free: 23.46 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.48e-05/1.148, allocations: 5.953 kB / 0.749 GB, free: 23.46 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.704e-05/1.149, allocations: 94.98 kB / 0.7491 GB, free: 23.38 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00141/1.15, allocations: 35.23 kB / 0.7491 GB, free: 23.38 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.0001262/1.15, allocations: 103 kB / 0.7492 GB, free: 23.29 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001861/1.15, allocations: 83.77 kB / 0.7493 GB, free: 23.28 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/1.15, allocations: 3.969 kB / 0.7493 GB, free: 23.28 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 6.503e-05/1.15, allocations: 30.92 kB / 0.7493 GB, free: 23.28 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000191/1.151, allocations: 0.6094 kB / 0.7493 GB, free: 23.28 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007451/1.151, allocations: 200.3 kB / 0.7495 GB, free: 23.16 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003323/1.152, allocations: 0.7211 MB / 0.7502 GB, free: 22.46 MB / 0.5105 GB Notification: Performance of SimCode: time 2.51e-07/1.152, allocations: 0 / 0.7502 GB, free: 22.46 MB / 0.5105 GB (rm -f IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Movers_BaseClasses_Validation_PowerInterface_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Movers_BaseClasses_Validation_PowerInterface.fmu > IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1)