Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.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.Utilities.IO.SignalExchange.Examples.FirstOrder,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_IO_SignalExchange_Examples_FirstOrder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_IO_SignalExchange_Examples_FirstOrder",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.003432/0.003432, allocations: 177.8 kB / 7.455 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7053/0.7053, allocations: 133.5 MB / 141.4 MB, free: 15.67 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.42/1.42, allocations: 221.3 MB / 395 MB, free: 10.14 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.001054/0.001053, allocations: 105 kB / 477.8 MB, free: 10.73 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4571/0.4582, allocations: 88.43 MB / 0.5529 GB, free: 89.29 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2083/0.6665, allocations: 82.3 MB / 0.6333 GB, free: 13.93 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5489/1.215, allocations: 116.3 MB / 0.7469 GB, free: 10.69 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003499/1.216, allocations: 79.91 kB / 0.747 GB, free: 10.69 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.01924/1.235, allocations: 7.128 MB / 0.754 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.746e-05/1.235, allocations: 9.125 kB / 0.754 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.997e-05/1.235, allocations: 44.53 kB / 0.754 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000558/1.236, allocations: 382 kB / 0.7544 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.747e-05/1.236, allocations: 8.594 kB / 0.7544 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.685e-05/1.236, allocations: 23.72 kB / 0.7544 GB, free: 25.31 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000446/1.236, allocations: 190.7 kB / 0.7546 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000525/1.237, allocations: 265 kB / 0.7548 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/1.237, allocations: 1.188 kB / 0.7548 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.251e-05/1.237, allocations: 0 / 0.7548 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.539e-05/1.237, allocations: 7.062 kB / 0.7548 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001594/1.239, allocations: 1.098 MB / 0.7559 GB, free: 24.56 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004578/1.239, allocations: 179.5 kB / 0.7561 GB, free: 24.53 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001561/1.239, allocations: 83.56 kB / 0.7562 GB, free: 24.52 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 4.196e-05/1.239, allocations: 1.938 kB / 0.7562 GB, free: 24.52 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.258e-05/1.239, allocations: 36.47 kB / 0.7562 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=16): time 1.302e-06/1.239, allocations: 4 kB / 0.7562 GB, free: 24.47 MB / 0.5105 GB Notification: Performance of matching and sorting (n=16): time 0.0004398/1.24, allocations: 181.9 kB / 0.7564 GB, free: 24.42 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.372e-05/1.24, allocations: 83.8 kB / 0.7565 GB, free: 24.32 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003247/1.24, allocations: 231.1 kB / 0.7567 GB, free: 24.2 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.973e-05/1.24, allocations: 26.92 kB / 0.7567 GB, free: 24.17 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001317/1.24, allocations: 172 kB / 0.7569 GB, free: 24.03 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.881e-05/1.241, allocations: 54 kB / 0.7569 GB, free: 23.99 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.758e-06/1.241, allocations: 0 / 0.7569 GB, free: 23.99 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001715/1.241, allocations: 338.6 kB / 0.7573 GB, free: 23.67 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001459/1.241, allocations: 63.03 kB / 0.7573 GB, free: 23.67 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001535/1.241, allocations: 91.09 kB / 0.7574 GB, free: 23.64 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001498/1.241, allocations: 75.47 kB / 0.7575 GB, free: 23.62 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/1.241, allocations: 0 / 0.7575 GB, free: 23.62 MB / 0.5105 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003833/1.242, allocations: 197.9 kB / 0.7577 GB, free: 23.57 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002032/1.242, allocations: 278.2 kB / 0.7579 GB, free: 23.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/1.242, allocations: 5.156 kB / 0.7579 GB, free: 23.29 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.092e-05/1.242, allocations: 2.062 kB / 0.7579 GB, free: 23.29 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002069/1.242, allocations: 34.55 kB / 0.758 GB, free: 23.28 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.969e-06/1.242, allocations: 2 kB / 0.758 GB, free: 23.28 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001462/1.242, allocations: 22.45 kB / 0.758 GB, free: 23.27 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.964e-05/1.242, allocations: 7.75 kB / 0.758 GB, free: 23.27 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.564e-06/1.242, allocations: 4.25 kB / 0.758 GB, free: 23.27 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002549/1.243, allocations: 146.2 kB / 0.7581 GB, free: 23.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.963e-06/1.243, allocations: 0.875 kB / 0.7581 GB, free: 23.25 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.326e-06/1.243, allocations: 2.031 kB / 0.7581 GB, free: 23.25 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001323/1.243, allocations: 30.2 kB / 0.7582 GB, free: 23.25 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.284e-06/1.243, allocations: 0.7812 kB / 0.7582 GB, free: 23.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000101/1.243, allocations: 14.23 kB / 0.7582 GB, free: 23.24 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.368e-05/1.243, allocations: 8.484 kB / 0.7582 GB, free: 23.23 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 (actSet.y,actAct.y,expMod.mod.conPI.I.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001086/1.243, allocations: 110.8 kB / 0.7583 GB, free: 23.12 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.991e-05/1.243, allocations: 31.91 kB / 0.7583 GB, free: 23.11 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.229e-05/1.243, allocations: 30.97 kB / 0.7584 GB, free: 23.09 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/1.243, allocations: 1.312 kB / 0.7584 GB, free: 23.09 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/1.243, allocations: 0.6562 kB / 0.7584 GB, free: 23.09 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/1.243, allocations: 0 / 0.7584 GB, free: 23.09 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004375/1.244, allocations: 360.2 kB / 0.7587 GB, free: 22.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/1.244, allocations: 0 / 0.7587 GB, free: 22.86 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001909/1.244, allocations: 27.23 kB / 0.7587 GB, free: 22.86 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/1.244, allocations: 9.281 kB / 0.7587 GB, free: 22.85 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.051e-05/1.244, allocations: 7.562 kB / 0.7587 GB, free: 22.85 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/1.244, allocations: 1.812 kB / 0.7587 GB, free: 22.85 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/1.244, allocations: 0 / 0.7587 GB, free: 22.85 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005436/1.244, allocations: 376.2 kB / 0.7591 GB, free: 22.69 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009419/1.245, allocations: 0.8423 MB / 0.7599 GB, free: 22.15 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001561/1.245, allocations: 124 kB / 0.76 GB, free: 22.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.563e-05/1.246, allocations: 1.844 kB / 0.76 GB, free: 22.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001685/1.246, allocations: 12.8 kB / 0.7601 GB, free: 22.04 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.264e-05/1.246, allocations: 11.3 kB / 0.7601 GB, free: 22.03 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.244e-05/1.246, allocations: 2.875 kB / 0.7601 GB, free: 22.03 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0002916/1.246, allocations: 191 kB / 0.7603 GB, free: 21.94 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001624/1.248, allocations: 92.75 kB / 0.7603 GB, free: 21.91 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (expMod.mod.conPI.I.y,expMod.mod.firOrd.y) * Number of discrete variables: 2 (actSet.y,actAct.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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.000209/1.248, allocations: 108.1 kB / 0.7604 GB, free: 21.81 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005942/1.249, allocations: 242.3 kB / 0.7607 GB, free: 21.8 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/1.249, allocations: 1.156 kB / 0.7607 GB, free: 21.8 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00015/1.249, allocations: 80.92 kB / 0.7608 GB, free: 21.8 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005401/1.249, allocations: 65.62 kB / 0.7608 GB, free: 21.77 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001273/1.251, allocations: 399.9 kB / 0.7612 GB, free: 21.57 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005825/1.251, allocations: 0.8069 MB / 0.762 GB, free: 20.81 MB / 0.5105 GB Notification: Performance of SimCode: time 2.51e-07/1.251, allocations: 1.094 kB / 0.762 GB, free: 20.81 MB / 0.5105 GB (rm -f IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_IO_SignalExchange_Examples_FirstOrder_fmu --startTime=0 --stopTime=150 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_IO_SignalExchange_Examples_FirstOrder.fmu > IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1)