Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test6.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.Test6,fileNamePrefix="ConPNlib_ConPNlib_Examples_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ConPNlib.Examples.Test6,fileNamePrefix="ConPNlib_ConPNlib_Examples_Test6",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.01393/0.01393, allocations: 1.338 MB / 8.618 MB, free: 1.652 MB / 5.871 MB Notification: Performance of FrontEnd - loaded program: time 0.02077/0.03477, allocations: 4.297 MB / 12.91 MB, free: 1.016 MB / 7.832 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0009541/0.03576, allocations: 360.2 kB / 13.27 MB, free: 0.6719 MB / 7.832 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.008454/0.04424, allocations: 3.274 MB / 16.54 MB, free: 468 kB / 7.832 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001597/0.04447, allocations: 50.8 kB / 16.59 MB, free: 420 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.03382/0.0783, allocations: 7.266 MB / 23.86 MB, free: 0.9141 MB / 10.45 MB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.07838, allocations: 12.58 kB / 23.87 MB, free: 0.9023 MB / 10.45 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001578/0.07855, allocations: 39.53 kB / 23.91 MB, free: 0.8633 MB / 10.45 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006213/0.07918, allocations: 320 kB / 24.22 MB, free: 0.5117 MB / 10.45 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.986e-05/0.07924, allocations: 16 kB / 24.24 MB, free: 0.4961 MB / 10.45 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001321/0.07938, allocations: 28 kB / 24.26 MB, free: 480 kB / 10.45 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001719/0.08112, allocations: 405.8 kB / 24.66 MB, free: 72 kB / 10.45 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009767/0.09094, allocations: 0.548 MB / 25.21 MB, free: 1.191 MB / 10.45 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.383e-05/0.09105, allocations: 0 / 25.21 MB, free: 1.191 MB / 10.45 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001185/0.09119, allocations: 2.625 kB / 25.21 MB, free: 1.191 MB / 10.45 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001471/0.09136, allocations: 27.97 kB / 25.24 MB, free: 1.191 MB / 10.45 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003505/0.09489, allocations: 1.054 MB / 26.29 MB, free: 0.8164 MB / 10.45 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005442/0.09548, allocations: 292.8 kB / 26.58 MB, free: 0.6953 MB / 10.45 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00032/0.09582, allocations: 160.9 kB / 26.73 MB, free: 0.6875 MB / 10.45 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006668/0.0965, allocations: 0.5981 MB / 27.33 MB, free: 3.523 MB / 13.94 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.993e-05/0.09654, allocations: 34.02 kB / 27.37 MB, free: 3.48 MB / 13.94 MB Notification: Performance of pre-optimization done (n=22): time 3.486e-06/0.09656, allocations: 0 / 27.37 MB, free: 3.48 MB / 13.94 MB Notification: Performance of matching and sorting (n=22): time 0.0008911/0.09746, allocations: 281.3 kB / 27.64 MB, free: 3.438 MB / 13.94 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001184/0.09759, allocations: 139.3 kB / 27.78 MB, free: 3.281 MB / 13.94 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002228/0.09783, allocations: 179.7 kB / 27.95 MB, free: 3.172 MB / 13.94 MB Notification: Performance of collectPreVariables (initialization): time 4.645e-05/0.09789, allocations: 33.78 kB / 27.98 MB, free: 3.141 MB / 13.94 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001595/0.09806, allocations: 214 kB / 28.19 MB, free: 3.004 MB / 13.94 MB Notification: Performance of collectInitialBindings (initialization): time 7.927e-05/0.09815, allocations: 70.5 kB / 28.26 MB, free: 2.961 MB / 13.94 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.702e-05/0.09819, allocations: 3.797 kB / 28.27 MB, free: 2.961 MB / 13.94 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.09835, allocations: 327.4 kB / 28.59 MB, free: 2.648 MB / 13.94 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003127/0.09868, allocations: 133.2 kB / 28.72 MB, free: 2.645 MB / 13.94 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004361/0.09913, allocations: 239.8 kB / 28.95 MB, free: 2.488 MB / 13.94 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004991/0.09964, allocations: 146.3 kB / 29.09 MB, free: 2.453 MB / 13.94 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.09966, allocations: 2.078 kB / 29.1 MB, free: 2.453 MB / 13.94 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001047/0.1007, allocations: 388.5 kB / 29.47 MB, free: 2.32 MB / 13.94 MB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.1008, allocations: 4.938 kB / 29.48 MB, free: 2.32 MB / 13.94 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-06/0.1008, allocations: 3.156 kB / 29.48 MB, free: 2.32 MB / 13.94 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.223e-05/0.1008, allocations: 7.281 kB / 29.49 MB, free: 2.32 MB / 13.94 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003355/0.1011, allocations: 53.77 kB / 29.54 MB, free: 2.316 MB / 13.94 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.38e-05/0.1012, allocations: 8.641 kB / 29.55 MB, free: 2.312 MB / 13.94 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003108/0.1015, allocations: 45.55 kB / 29.59 MB, free: 2.297 MB / 13.94 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-05/0.1016, allocations: 24.39 kB / 29.62 MB, free: 2.293 MB / 13.94 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 16 ($PRE.P1.fireOut[1],P1.emptying,$PRE.P2.fireIn[1],P2.feeding,P1.feeding,P1.outTransition[1].arcType,P2.emptying,P1.fireOut[1],P2.fireIn[1],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.emptied[1],T1.activation.arcType[1],T1.activation.fed[1],T1.outPlaces[1].enabledByInPlaces) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 35 * Array equations: 2 * 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.0002512/0.1018, allocations: 168.4 kB / 29.78 MB, free: 2.141 MB / 13.94 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.262e-05/0.1019, allocations: 25 kB / 29.81 MB, free: 2.129 MB / 13.94 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001136/0.1031, allocations: 332.2 kB / 30.13 MB, free: 1.969 MB / 13.94 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.745e-05/0.1031, allocations: 7.906 kB / 30.14 MB, free: 1.961 MB / 13.94 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.1031, allocations: 0 / 30.14 MB, free: 1.961 MB / 13.94 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.669e-06/0.1032, allocations: 6.578 kB / 30.15 MB, free: 1.957 MB / 13.94 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00165/0.1048, allocations: 0.6817 MB / 30.83 MB, free: 1.34 MB / 13.94 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.101e-06/0.1049, allocations: 2.5 kB / 30.83 MB, free: 1.34 MB / 13.94 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003267/0.1052, allocations: 42.69 kB / 30.87 MB, free: 1.305 MB / 13.94 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.017e-06/0.1052, allocations: 0 / 30.87 MB, free: 1.305 MB / 13.94 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.856e-05/0.1053, allocations: 8.797 kB / 30.88 MB, free: 1.301 MB / 13.94 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.592e-06/0.1053, allocations: 4 kB / 30.88 MB, free: 1.297 MB / 13.94 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.1053, allocations: 4 kB / 30.89 MB, free: 1.293 MB / 13.94 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001382/0.1067, allocations: 0.5563 MB / 31.44 MB, free: 0.7773 MB / 13.94 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.008355/0.1151, allocations: 1.154 MB / 32.6 MB, free: 3.621 MB / 13.94 MB Notification: Performance of postOpt removeConstants (simulation): time 7.758e-05/0.1152, allocations: 88.89 kB / 32.69 MB, free: 3.527 MB / 13.94 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001166/0.1153, allocations: 18.81 kB / 32.7 MB, free: 3.527 MB / 13.94 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003569/0.1157, allocations: 20.14 kB / 32.72 MB, free: 3.527 MB / 13.94 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002162/0.1159, allocations: 62.28 kB / 32.78 MB, free: 3.527 MB / 13.94 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.498e-05/0.116, allocations: 20.16 kB / 32.8 MB, free: 3.527 MB / 13.94 MB Notification: Performance of sort global known variables: time 0.0001186/0.1161, allocations: 121.9 kB / 32.92 MB, free: 3.449 MB / 13.94 MB Notification: Performance of remove unused functions: time 0.001584/0.1177, allocations: 160.2 kB / 33.08 MB, free: 3.449 MB / 13.94 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (P1.t_,P2.t_) * Number of discrete variables: 7 (P1.fireOut[1],P1.emptying,P2.fireIn[1],P2.feeding,T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1]) * Number of discrete states: 5 (P2.fireIn[1],P1.fireOut[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[1],T1.activation.active) * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 19 * Array equations: 2 * 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.0005424/0.1183, allocations: 192 kB / 33.27 MB, free: 3.359 MB / 13.94 MB Notification: Performance of simCode: created initialization part: time 0.001038/0.1193, allocations: 413 kB / 33.67 MB, free: 3.328 MB / 13.94 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.1193, allocations: 2.438 kB / 33.67 MB, free: 3.328 MB / 13.94 MB Notification: Performance of simCode: created simulation system equations: time 0.0004753/0.1198, allocations: 222 kB / 33.89 MB, free: 3.297 MB / 13.94 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003559/0.1202, allocations: 23.14 kB / 33.91 MB, free: 3.297 MB / 13.94 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001547/0.1218, allocations: 0.5611 MB / 34.47 MB, free: 3.148 MB / 13.94 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000626/0.1224, allocations: 0.9105 MB / 35.38 MB, free: 2.441 MB / 13.94 MB Notification: Performance of SimCode: time 1.162e-06/0.1224, allocations: 0 / 35.38 MB, free: 2.441 MB / 13.94 MB (rm -f ConPNlib_ConPNlib.Examples.Test6.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test6.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test6.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ConPNlib_ConPNlib_Examples_Test6_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ConPNlib_ConPNlib_Examples_Test6.fmu > ConPNlib_ConPNlib.Examples.Test6.pipe 2>&1)