Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test1a.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.Test1a,fileNamePrefix="ConPNlib_ConPNlib_Examples_Test1a",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ConPNlib.Examples.Test1a,fileNamePrefix="ConPNlib_ConPNlib_Examples_Test1a",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.01328/0.01328, allocations: 1.336 MB / 8.617 MB, free: 1.66 MB / 5.871 MB Notification: Performance of FrontEnd - loaded program: time 0.02612/0.03947, allocations: 4.294 MB / 12.91 MB, free: 1.055 MB / 7.832 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.001016/0.04054, allocations: 371.1 kB / 13.27 MB, free: 0.6992 MB / 7.832 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.009677/0.05025, allocations: 2.953 MB / 16.23 MB, free: 0.8047 MB / 7.832 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001572/0.05046, allocations: 47.98 kB / 16.27 MB, free: 0.7578 MB / 7.832 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0145/0.06499, allocations: 2.954 MB / 19.23 MB, free: 364 kB / 10.45 MB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.06505, allocations: 8.578 kB / 19.24 MB, free: 356 kB / 10.45 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.487e-05/0.06511, allocations: 9.312 kB / 19.24 MB, free: 348 kB / 10.45 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002942/0.06542, allocations: 182.9 kB / 19.42 MB, free: 120 kB / 10.45 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.928e-05/0.06545, allocations: 4 kB / 19.43 MB, free: 116 kB / 10.45 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.82e-05/0.06548, allocations: 0 / 19.43 MB, free: 116 kB / 10.45 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.119e-05/0.06557, allocations: 22.92 kB / 19.45 MB, free: 96 kB / 10.45 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001615/0.06574, allocations: 61.14 kB / 19.51 MB, free: 16 kB / 10.45 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.06577, allocations: 0 / 19.51 MB, free: 16 kB / 10.45 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.06579, allocations: 0 / 19.51 MB, free: 16 kB / 10.45 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.06581, allocations: 1.406 kB / 19.51 MB, free: 16 kB / 10.45 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004568/0.0704, allocations: 411.7 kB / 19.91 MB, free: 2.434 MB / 10.45 MB Notification: Performance of preOpt comSubExp (simulation): time 6.681e-05/0.07053, allocations: 30.02 kB / 19.94 MB, free: 2.41 MB / 10.45 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.54e-05/0.07057, allocations: 11.64 kB / 19.95 MB, free: 2.402 MB / 10.45 MB Notification: Performance of preOpt evalFunc (simulation): time 1.262e-05/0.07059, allocations: 0 / 19.95 MB, free: 2.402 MB / 10.45 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.822e-05/0.07062, allocations: 30.56 kB / 19.98 MB, free: 2.363 MB / 10.45 MB Notification: Performance of pre-optimization done (n=2): time 1.864e-06/0.07063, allocations: 0 / 19.98 MB, free: 2.363 MB / 10.45 MB Notification: Performance of matching and sorting (n=2): time 0.000186/0.07082, allocations: 40.91 kB / 20.02 MB, free: 2.332 MB / 10.45 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.686e-05/0.07087, allocations: 84.55 kB / 20.11 MB, free: 2.238 MB / 10.45 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.297e-05/0.07098, allocations: 108.4 kB / 20.21 MB, free: 2.148 MB / 10.45 MB Notification: Performance of collectPreVariables (initialization): time 1.303e-05/0.071, allocations: 25.7 kB / 20.24 MB, free: 2.117 MB / 10.45 MB Notification: Performance of collectInitialEqns (initialization): time 3.985e-05/0.07105, allocations: 95.2 kB / 20.33 MB, free: 2.027 MB / 10.45 MB Notification: Performance of collectInitialBindings (initialization): time 1.315e-05/0.07107, allocations: 10.8 kB / 20.34 MB, free: 2.023 MB / 10.45 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.37e-06/0.07109, allocations: 0 / 20.34 MB, free: 2.023 MB / 10.45 MB Notification: Performance of setup shared object (initialization): time 6.444e-05/0.07116, allocations: 320.4 kB / 20.65 MB, free: 1.711 MB / 10.45 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.284e-05/0.07119, allocations: 5.5 kB / 20.66 MB, free: 1.711 MB / 10.45 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.633e-05/0.07126, allocations: 55.33 kB / 20.71 MB, free: 1.656 MB / 10.45 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.875e-05/0.07131, allocations: 20.22 kB / 20.73 MB, free: 1.656 MB / 10.45 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.07132, allocations: 0 / 20.73 MB, free: 1.656 MB / 10.45 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001302/0.07146, allocations: 67.11 kB / 20.8 MB, free: 1.621 MB / 10.45 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.07149, allocations: 7.344 kB / 20.8 MB, free: 1.621 MB / 10.45 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.0715, allocations: 1.484 kB / 20.81 MB, free: 1.621 MB / 10.45 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.07153, allocations: 3.688 kB / 20.81 MB, free: 1.621 MB / 10.45 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.954e-05/0.07163, allocations: 18.98 kB / 20.83 MB, free: 1.621 MB / 10.45 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/0.07165, allocations: 1.5 kB / 20.83 MB, free: 1.621 MB / 10.45 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.031e-05/0.07175, allocations: 9.891 kB / 20.84 MB, free: 1.621 MB / 10.45 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/0.07177, allocations: 9.797 kB / 20.85 MB, free: 1.617 MB / 10.45 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 2 (P1.emptying,P1.feeding) * 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 6.642e-05/0.07185, allocations: 112.6 kB / 20.96 MB, free: 1.508 MB / 10.45 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.669e-05/0.07189, allocations: 7.406 kB / 20.97 MB, free: 1.504 MB / 10.45 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.298e-05/0.07194, allocations: 8.609 kB / 20.97 MB, free: 1.488 MB / 10.45 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.07196, allocations: 0 / 20.97 MB, free: 1.488 MB / 10.45 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.07197, allocations: 0 / 20.97 MB, free: 1.488 MB / 10.45 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.07198, allocations: 0 / 20.97 MB, free: 1.488 MB / 10.45 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002194/0.07221, allocations: 146 kB / 21.12 MB, free: 1.332 MB / 10.45 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.07222, allocations: 3.031 kB / 21.12 MB, free: 1.332 MB / 10.45 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.137e-05/0.0723, allocations: 10.7 kB / 21.13 MB, free: 1.332 MB / 10.45 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.07232, allocations: 0 / 21.13 MB, free: 1.332 MB / 10.45 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.07234, allocations: 4.125 kB / 21.13 MB, free: 1.332 MB / 10.45 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.07235, allocations: 3.906 kB / 21.14 MB, free: 1.328 MB / 10.45 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.07236, allocations: 0 / 21.14 MB, free: 1.328 MB / 10.45 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000126/0.07249, allocations: 150.5 kB / 21.29 MB, free: 1.195 MB / 10.45 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001621/0.07267, allocations: 0.5152 MB / 21.8 MB, free: 0.6914 MB / 10.45 MB Notification: Performance of postOpt removeConstants (simulation): time 3.024e-05/0.07271, allocations: 80.45 kB / 21.88 MB, free: 0.5977 MB / 10.45 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.119e-05/0.07274, allocations: 8.125 kB / 21.89 MB, free: 0.5938 MB / 10.45 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001143/0.07287, allocations: 11.45 kB / 21.9 MB, free: 0.5898 MB / 10.45 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.073e-05/0.07291, allocations: 3.938 kB / 21.9 MB, free: 0.5859 MB / 10.45 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.07292, allocations: 3.75 kB / 21.91 MB, free: 0.5859 MB / 10.45 MB Notification: Performance of sort global known variables: time 4.264e-05/0.07297, allocations: 85.88 kB / 21.99 MB, free: 0.5117 MB / 10.45 MB Notification: Performance of remove unused functions: time 0.001145/0.07412, allocations: 7.5 kB / 22 MB, free: 0.5117 MB / 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001125/0.07425, allocations: 98.91 kB / 22.09 MB, free: 436 kB / 10.45 MB Notification: Performance of simCode: created initialization part: time 0.0001159/0.07438, allocations: 26.28 kB / 22.12 MB, free: 428 kB / 10.45 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.07439, allocations: 0 / 22.12 MB, free: 428 kB / 10.45 MB Notification: Performance of simCode: created simulation system equations: time 2.442e-05/0.07443, allocations: 10.47 kB / 22.13 MB, free: 428 kB / 10.45 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002526/0.07469, allocations: 9.781 kB / 22.14 MB, free: 428 kB / 10.45 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002606/0.07496, allocations: 80.45 kB / 22.22 MB, free: 352 kB / 10.45 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002903/0.07527, allocations: 0.6968 MB / 22.91 MB, free: 3.238 MB / 14.04 MB Notification: Performance of SimCode: time 8.32e-07/0.07528, allocations: 4 kB / 22.92 MB, free: 3.234 MB / 14.04 MB (rm -f ConPNlib_ConPNlib.Examples.Test1a.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test1a.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test1a.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test1a.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ConPNlib_ConPNlib_Examples_Test1a_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ConPNlib_ConPNlib_Examples_Test1a.fmu > ConPNlib_ConPNlib.Examples.Test1a.pipe 2>&1)