Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Utilities_IO_SignalExchange_Examples_FirstOrder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder,fileNamePrefix="IDEAS_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.003541/0.00354, allocations: 184.3 kB / 7.462 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.7314/0.7314, 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.668/1.668, allocations: 221.3 MB / 395 MB, free: 10.16 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.0009888/0.0009887, allocations: 89.53 kB / 477.8 MB, free: 10.77 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4765/0.4776, allocations: 88.44 MB / 0.5529 GB, free: 89.19 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.187/0.6646, allocations: 82.3 MB / 0.6333 GB, free: 13.98 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6144/1.279, allocations: 116.4 MB / 0.7469 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003003/1.279, allocations: 81.05 kB / 0.747 GB, free: 10.91 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.01901/1.298, allocations: 7.124 MB / 0.754 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.433e-05/1.298, allocations: 9.188 kB / 0.754 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001087/1.299, allocations: 43.59 kB / 0.754 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006186/1.299, allocations: 382.6 kB / 0.7544 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.385e-05/1.299, allocations: 9.156 kB / 0.7544 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.676e-05/1.299, allocations: 20.2 kB / 0.7544 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004259/1.3, allocations: 190.7 kB / 0.7546 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005133/1.3, allocations: 262.8 kB / 0.7548 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/1.3, allocations: 1.156 kB / 0.7548 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.924e-05/1.3, allocations: 0 / 0.7548 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.208e-05/1.3, allocations: 7.344 kB / 0.7548 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001545/1.302, allocations: 1.098 MB / 0.7559 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004088/1.302, allocations: 191 kB / 0.7561 GB, free: 24.76 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001384/1.302, allocations: 79.14 kB / 0.7562 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.144e-05/1.302, allocations: 1.938 kB / 0.7562 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.195e-05/1.303, allocations: 36.69 kB / 0.7562 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=16): time 1.332e-06/1.303, allocations: 0 / 0.7562 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of matching and sorting (n=16): time 0.0004613/1.303, allocations: 182.6 kB / 0.7564 GB, free: 24.65 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.312e-05/1.303, allocations: 79.73 kB / 0.7565 GB, free: 24.55 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003015/1.303, allocations: 240.3 kB / 0.7567 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.537e-05/1.303, allocations: 25.7 kB / 0.7567 GB, free: 24.4 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 9.421e-05/1.304, allocations: 165.4 kB / 0.7569 GB, free: 24.26 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.497e-05/1.304, allocations: 51.81 kB / 0.7569 GB, free: 24.22 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.106e-05/1.304, allocations: 1.031 kB / 0.7569 GB, free: 24.22 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001455/1.304, allocations: 340.7 kB / 0.7573 GB, free: 23.9 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001177/1.304, allocations: 64.44 kB / 0.7573 GB, free: 23.89 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000136/1.304, allocations: 92.28 kB / 0.7574 GB, free: 23.86 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001426/1.304, allocations: 67.58 kB / 0.7575 GB, free: 23.86 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/1.304, allocations: 1.406 kB / 0.7575 GB, free: 23.86 MB / 0.5105 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003426/1.305, allocations: 205.1 kB / 0.7577 GB, free: 23.8 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001198/1.305, allocations: 279.4 kB / 0.7579 GB, free: 23.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/1.305, allocations: 1.219 kB / 0.7579 GB, free: 23.52 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/1.305, allocations: 1.406 kB / 0.7579 GB, free: 23.52 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001882/1.305, allocations: 43.02 kB / 0.758 GB, free: 23.51 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.186e-05/1.305, allocations: 5.406 kB / 0.758 GB, free: 23.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001383/1.305, allocations: 22.42 kB / 0.758 GB, free: 23.49 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.667e-05/1.305, allocations: 4.062 kB / 0.758 GB, free: 23.49 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.745e-06/1.305, allocations: 3.938 kB / 0.758 GB, free: 23.49 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002561/1.305, allocations: 140.5 kB / 0.7581 GB, free: 23.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.024e-06/1.305, allocations: 5.031 kB / 0.7581 GB, free: 23.48 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.488e-06/1.305, allocations: 2.125 kB / 0.7581 GB, free: 23.48 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001332/1.305, allocations: 25.89 kB / 0.7582 GB, free: 23.47 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.476e-06/1.305, allocations: 1.156 kB / 0.7582 GB, free: 23.47 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001038/1.306, allocations: 14.23 kB / 0.7582 GB, free: 23.46 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.249e-05/1.306, allocations: 3.75 kB / 0.7582 GB, free: 23.46 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.0001037/1.306, allocations: 111 kB / 0.7583 GB, free: 23.36 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.236e-05/1.306, allocations: 31.69 kB / 0.7583 GB, free: 23.34 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.326e-05/1.306, allocations: 28.19 kB / 0.7584 GB, free: 23.32 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/1.306, allocations: 1.656 kB / 0.7584 GB, free: 23.32 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/1.306, allocations: 0 / 0.7584 GB, free: 23.32 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/1.306, allocations: 0 / 0.7584 GB, free: 23.32 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000418/1.306, allocations: 364 kB / 0.7587 GB, free: 23.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/1.306, allocations: 0 / 0.7587 GB, free: 23.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001902/1.307, allocations: 27.27 kB / 0.7587 GB, free: 23.09 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/1.307, allocations: 5.219 kB / 0.7587 GB, free: 23.09 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.832e-05/1.307, allocations: 11.88 kB / 0.7587 GB, free: 23.08 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/1.307, allocations: 1.531 kB / 0.7587 GB, free: 23.08 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/1.307, allocations: 0 / 0.7587 GB, free: 23.08 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005273/1.307, allocations: 378 kB / 0.7591 GB, free: 22.92 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007526/1.308, allocations: 0.842 MB / 0.7599 GB, free: 22.39 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001231/1.308, allocations: 122.2 kB / 0.76 GB, free: 22.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.799e-05/1.308, allocations: 4.625 kB / 0.76 GB, free: 22.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001658/1.308, allocations: 16.73 kB / 0.7601 GB, free: 22.27 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.889e-05/1.308, allocations: 12.06 kB / 0.7601 GB, free: 22.26 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/1.308, allocations: 2.969 kB / 0.7601 GB, free: 22.26 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0002103/1.309, allocations: 186 kB / 0.7603 GB, free: 22.17 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001533/1.31, allocations: 100.5 kB / 0.7604 GB, free: 22.14 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.0001622/1.31, allocations: 104.4 kB / 0.7605 GB, free: 22.04 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004695/1.311, allocations: 249 kB / 0.7607 GB, free: 22.03 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/1.311, allocations: 0 / 0.7607 GB, free: 22.03 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001338/1.311, allocations: 76.91 kB / 0.7608 GB, free: 22.02 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004778/1.311, allocations: 68.81 kB / 0.7608 GB, free: 21.99 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001075/1.312, allocations: 396.5 kB / 0.7612 GB, free: 21.79 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004809/1.313, allocations: 0.8075 MB / 0.762 GB, free: 21.04 MB / 0.5105 GB Notification: Performance of SimCode: time 2.71e-07/1.313, allocations: 0 / 0.762 GB, free: 21.04 MB / 0.5105 GB (rm -f IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_IO_SignalExchange_Examples_FirstOrder_fmu --startTime=0 --stopTime=150 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_IO_SignalExchange_Examples_FirstOrder.fmu > IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1)