Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo", uses=false) Using package ConPNlib with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo) Running command: "" <> buildModelFMU(ConPNlib.Examples.Test3,fileNamePrefix="ConPNlib_ConPNlib_Examples_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ConPNlib.Examples.Test3,fileNamePrefix="ConPNlib_ConPNlib_Examples_Test3",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/ConPNlib master/package.mo): time 0.0105/0.0105, allocations: 1.338 MB / 8.616 MB, free: 1.656 MB / 5.871 MB Notification: Performance of FrontEnd - loaded program: time 0.02379/0.03436, allocations: 4.296 MB / 12.91 MB, free: 1.023 MB / 7.832 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0008908/0.0353, allocations: 371 kB / 13.27 MB, free: 0.6719 MB / 7.832 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.01214/0.04748, allocations: 3.261 MB / 16.54 MB, free: 488 kB / 7.832 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001467/0.04769, allocations: 47.98 kB / 16.58 MB, free: 440 kB / 7.832 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.0286/0.0763, allocations: 5.411 MB / 21.99 MB, free: 1.891 MB / 10.45 MB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/0.07636, allocations: 12.56 kB / 22.01 MB, free: 1.891 MB / 10.45 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.243e-05/0.07647, allocations: 28.95 kB / 22.03 MB, free: 1.879 MB / 10.45 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000476/0.07696, allocations: 245 kB / 22.27 MB, free: 1.668 MB / 10.45 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.921e-05/0.07702, allocations: 9.656 kB / 22.28 MB, free: 1.668 MB / 10.45 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.053e-05/0.07712, allocations: 19.28 kB / 22.3 MB, free: 1.66 MB / 10.45 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007174/0.07785, allocations: 203.5 kB / 22.5 MB, free: 1.66 MB / 10.45 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000687/0.07856, allocations: 294.3 kB / 22.79 MB, free: 1.598 MB / 10.45 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.808e-05/0.0786, allocations: 2.312 kB / 22.79 MB, free: 1.598 MB / 10.45 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.601e-05/0.07865, allocations: 2.656 kB / 22.79 MB, free: 1.598 MB / 10.45 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.357e-05/0.07871, allocations: 12.86 kB / 22.8 MB, free: 1.598 MB / 10.45 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001393/0.08012, allocations: 0.6847 MB / 23.49 MB, free: 1.105 MB / 10.45 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002561/0.0804, allocations: 112.5 kB / 23.6 MB, free: 1.023 MB / 10.45 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001645/0.08058, allocations: 80.77 kB / 23.68 MB, free: 0.9414 MB / 10.45 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00043/0.08103, allocations: 433.5 kB / 24.1 MB, free: 436 kB / 10.45 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.024e-05/0.08106, allocations: 34.56 kB / 24.14 MB, free: 392 kB / 10.45 MB Notification: Performance of pre-optimization done (n=13): time 2.605e-06/0.08108, allocations: 0 / 24.14 MB, free: 392 kB / 10.45 MB Notification: Performance of matching and sorting (n=13): time 0.0005645/0.08165, allocations: 155.5 kB / 24.29 MB, free: 232 kB / 10.45 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.504e-05/0.08172, allocations: 114.7 kB / 24.4 MB, free: 92 kB / 10.45 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004661/0.0864, allocations: 130.7 kB / 24.53 MB, free: 2.102 MB / 10.45 MB Notification: Performance of collectPreVariables (initialization): time 6.183e-05/0.0865, allocations: 28.11 kB / 24.55 MB, free: 2.07 MB / 10.45 MB Notification: Performance of collectInitialEqns (initialization): time 9.68e-05/0.08661, allocations: 143.7 kB / 24.69 MB, free: 1.984 MB / 10.45 MB Notification: Performance of collectInitialBindings (initialization): time 5.716e-05/0.08668, allocations: 40.17 kB / 24.73 MB, free: 1.965 MB / 10.45 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.623e-05/0.08671, allocations: 0 / 24.73 MB, free: 1.965 MB / 10.45 MB Notification: Performance of setup shared object (initialization): time 0.0001009/0.08682, allocations: 326.7 kB / 25.05 MB, free: 1.652 MB / 10.45 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001813/0.08701, allocations: 67.03 kB / 25.12 MB, free: 1.648 MB / 10.45 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002026/0.08722, allocations: 118.8 kB / 25.23 MB, free: 1.586 MB / 10.45 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003031/0.08754, allocations: 73.55 kB / 25.31 MB, free: 1.586 MB / 10.45 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.409e-06/0.08756, allocations: 0.75 kB / 25.31 MB, free: 1.586 MB / 10.45 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005785/0.08815, allocations: 213.7 kB / 25.52 MB, free: 1.547 MB / 10.45 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.08818, allocations: 5.438 kB / 25.52 MB, free: 1.547 MB / 10.45 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.0882, allocations: 3.781 kB / 25.52 MB, free: 1.547 MB / 10.45 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.171e-05/0.08823, allocations: 4.469 kB / 25.53 MB, free: 1.547 MB / 10.45 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002358/0.08847, allocations: 28.14 kB / 25.56 MB, free: 1.547 MB / 10.45 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.0885, allocations: 3.469 kB / 25.56 MB, free: 1.547 MB / 10.45 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001698/0.08867, allocations: 19.78 kB / 25.58 MB, free: 1.543 MB / 10.45 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.862e-05/0.08873, allocations: 14.16 kB / 25.59 MB, free: 1.543 MB / 10.45 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.P1.fireIn[1],P1.feeding,P1.emptying,T1.activation.active,T1.activation.weaklyOutputActiveVec[1],P1.fireIn[1],T1.activation.emptied[1],T1.outPlaces[1].enabledByInPlaces) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * Array equations: 1 * Algorithm blocks: 1 * 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.0001589/0.08889, allocations: 150.8 kB / 25.74 MB, free: 1.406 MB / 10.45 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.408e-05/0.08897, allocations: 14.92 kB / 25.75 MB, free: 1.402 MB / 10.45 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008352/0.08982, allocations: 275.8 kB / 26.02 MB, free: 1.363 MB / 10.45 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.907e-05/0.08985, allocations: 3.375 kB / 26.03 MB, free: 1.363 MB / 10.45 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/0.08987, allocations: 0 / 26.03 MB, free: 1.363 MB / 10.45 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.702e-06/0.08989, allocations: 0 / 26.03 MB, free: 1.363 MB / 10.45 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008921/0.09079, allocations: 488.1 kB / 26.5 MB, free: 1.094 MB / 10.45 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.09082, allocations: 0 / 26.5 MB, free: 1.094 MB / 10.45 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002179/0.09105, allocations: 24.75 kB / 26.53 MB, free: 1.094 MB / 10.45 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.763e-06/0.09107, allocations: 3 kB / 26.53 MB, free: 1.094 MB / 10.45 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.679e-05/0.0911, allocations: 8.188 kB / 26.54 MB, free: 1.094 MB / 10.45 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/0.09112, allocations: 4.75 kB / 26.54 MB, free: 1.09 MB / 10.45 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.616e-06/0.09113, allocations: 0.7031 kB / 26.54 MB, free: 1.09 MB / 10.45 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007414/0.09188, allocations: 372.6 kB / 26.91 MB, free: 0.9492 MB / 10.45 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009465/0.09285, allocations: 0.8188 MB / 27.73 MB, free: 444 kB / 10.45 MB Notification: Performance of postOpt removeConstants (simulation): time 4.855e-05/0.09292, allocations: 92.48 kB / 27.82 MB, free: 336 kB / 10.45 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.322e-05/0.09298, allocations: 10.03 kB / 27.83 MB, free: 336 kB / 10.45 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002076/0.0932, allocations: 11.12 kB / 27.84 MB, free: 336 kB / 10.45 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001491/0.09337, allocations: 31.3 kB / 27.87 MB, free: 336 kB / 10.45 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.664e-05/0.09342, allocations: 11.38 kB / 27.88 MB, free: 336 kB / 10.45 MB Notification: Performance of sort global known variables: time 7.99e-05/0.09351, allocations: 105.5 kB / 27.98 MB, free: 256 kB / 10.45 MB Notification: Performance of remove unused functions: time 0.001408/0.09492, allocations: 94.72 kB / 28.08 MB, free: 240 kB / 10.45 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (P1.t_) * Number of discrete variables: 4 (T1.activation.active,T1.activation.weaklyOutputActiveVec[1],P1.fireIn[1],P1.feeding) * Number of discrete states: 3 (P1.fireIn[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.active) * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 1 * Algorithm blocks: 1 * 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.0003796/0.09533, allocations: 159.5 kB / 28.23 MB, free: 144 kB / 10.45 MB Notification: Performance of simCode: created initialization part: time 0.0005955/0.09594, allocations: 214.2 kB / 28.44 MB, free: 100 kB / 10.45 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.09596, allocations: 0.7188 kB / 28.44 MB, free: 100 kB / 10.45 MB Notification: Performance of simCode: created simulation system equations: time 0.0002662/0.09624, allocations: 126.3 kB / 28.56 MB, free: 64 kB / 10.45 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003349/0.09659, allocations: 12.75 kB / 28.58 MB, free: 64 kB / 10.45 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006771/0.1034, allocations: 330.5 kB / 28.9 MB, free: 1.363 MB / 10.45 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006294/0.1041, allocations: 0.8177 MB / 29.72 MB, free: 4.336 MB / 14.12 MB Notification: Performance of SimCode: time 1.443e-06/0.1041, allocations: 1.75 kB / 29.72 MB, free: 4.336 MB / 14.12 MB (rm -f ConPNlib_ConPNlib.Examples.Test3.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test3.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test3.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ConPNlib_ConPNlib_Examples_Test3_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ConPNlib_ConPNlib_Examples_Test3.fmu > ConPNlib_ConPNlib.Examples.Test3.pipe 2>&1)