Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test11.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.Test11,fileNamePrefix="ConPNlib_ConPNlib_Examples_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ConPNlib.Examples.Test11,fileNamePrefix="ConPNlib_ConPNlib_Examples_Test11",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.01563/0.01563, allocations: 1.336 MB / 8.615 MB, free: 1.664 MB / 5.871 MB Notification: Performance of FrontEnd - loaded program: time 0.0213/0.03699, allocations: 4.296 MB / 12.91 MB, free: 1.027 MB / 7.832 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0008253/0.03784, allocations: 364.5 kB / 13.27 MB, free: 0.6797 MB / 7.832 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.00733/0.04519, allocations: 3.287 MB / 16.55 MB, free: 472 kB / 7.832 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001322/0.04538, allocations: 47.98 kB / 16.6 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: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.06152/0.1069, allocations: 11.31 MB / 27.91 MB, free: 3.012 MB / 13.95 MB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/0.107, allocations: 11.44 kB / 27.92 MB, free: 3.012 MB / 13.95 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003711/0.1074, allocations: 82.09 kB / 28 MB, free: 2.973 MB / 13.95 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001124/0.1085, allocations: 461.8 kB / 28.46 MB, free: 2.691 MB / 13.95 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.227e-05/0.1086, allocations: 38.8 kB / 28.49 MB, free: 2.688 MB / 13.95 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001836/0.1088, allocations: 54.34 kB / 28.55 MB, free: 2.688 MB / 13.95 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002345/0.1111, allocations: 0.7777 MB / 29.32 MB, free: 2.035 MB / 13.95 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003006/0.1142, allocations: 1.047 MB / 30.37 MB, free: 1.148 MB / 13.95 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.583e-05/0.1143, allocations: 4 kB / 30.38 MB, free: 1.145 MB / 13.95 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001151/0.1144, allocations: 4 kB / 30.38 MB, free: 1.141 MB / 13.95 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001563/0.1146, allocations: 61.2 kB / 30.44 MB, free: 1.09 MB / 13.95 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0109/0.1255, allocations: 1.885 MB / 32.32 MB, free: 2.629 MB / 13.95 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009279/0.1265, allocations: 498.8 kB / 32.81 MB, free: 2.508 MB / 13.95 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006727/0.1271, allocations: 335 kB / 33.14 MB, free: 2.5 MB / 13.95 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00103/0.1282, allocations: 1.026 MB / 34.16 MB, free: 1.375 MB / 13.95 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.099e-05/0.1283, allocations: 39.45 kB / 34.2 MB, free: 1.336 MB / 13.95 MB Notification: Performance of pre-optimization done (n=43): time 4.549e-06/0.1283, allocations: 0 / 34.2 MB, free: 1.336 MB / 13.95 MB Notification: Performance of matching and sorting (n=43): time 0.002219/0.1305, allocations: 0.6125 MB / 34.82 MB, free: 1.289 MB / 13.95 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001294/0.1307, allocations: 213.9 kB / 35.02 MB, free: 1.07 MB / 13.95 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003695/0.1311, allocations: 231.2 kB / 35.25 MB, free: 0.9727 MB / 13.95 MB Notification: Performance of collectPreVariables (initialization): time 7.347e-05/0.1311, allocations: 37.36 kB / 35.29 MB, free: 0.9414 MB / 13.95 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002975/0.1315, allocations: 331.4 kB / 35.61 MB, free: 0.7617 MB / 13.95 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001647/0.1316, allocations: 136.2 kB / 35.74 MB, free: 0.6797 MB / 13.95 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.147e-05/0.1317, allocations: 6.5 kB / 35.75 MB, free: 0.6797 MB / 13.95 MB Notification: Performance of setup shared object (initialization): time 9.257e-05/0.1318, allocations: 343.9 kB / 36.09 MB, free: 376 kB / 13.95 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006635/0.1325, allocations: 270.8 kB / 36.35 MB, free: 344 kB / 13.95 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007524/0.1332, allocations: 422.6 kB / 36.76 MB, free: 60 kB / 13.95 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007965/0.1412, allocations: 299.8 kB / 37.05 MB, free: 2.574 MB / 13.95 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.587e-05/0.1413, allocations: 1.531 kB / 37.06 MB, free: 2.574 MB / 13.95 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002878/0.1442, allocations: 0.7739 MB / 37.83 MB, free: 2.523 MB / 13.95 MB Notification: Performance of prepare postOptimizeDAE: time 2.426e-05/0.1443, allocations: 6.719 kB / 37.84 MB, free: 2.523 MB / 13.95 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.799e-05/0.1443, allocations: 6.75 kB / 37.84 MB, free: 2.523 MB / 13.95 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003654/0.148, allocations: 438.4 kB / 38.27 MB, free: 2.508 MB / 13.95 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007091/0.1487, allocations: 77.83 kB / 38.35 MB, free: 2.504 MB / 13.95 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00234/0.1511, allocations: 0.8665 MB / 39.21 MB, free: 1.988 MB / 13.95 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00106/0.1522, allocations: 71.7 kB / 39.28 MB, free: 1.98 MB / 13.95 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002515/0.1525, allocations: 44.03 kB / 39.33 MB, free: 1.98 MB / 13.95 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: 'T1'.speedSumOut[1]:VARIABLE(protected = true ) "Output speeds of continuous output places" type: Real [1] 'P2'.prelimSpeedIn[1]:VARIABLE(protected = true ) "preliminary speed of input transitions" type: Real [1] 'P3'.prelimSpeedIn[1]:VARIABLE(protected = true ) "preliminary speed of input transitions" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 28 ($PRE.'P1'.fireOut[1],'P1'.emptying,$PRE.'P3'.fireIn[1],'P3'.feeding,'P3'.emptying,'P2'.outTransition[1].arcType,'P1'.feeding,'P1'.outTransition[1].arcType,'P1'.fireOut[1],'T1'.activation.emptied[1],'T1'.activation.active,'T1'.activation.weaklyInputActiveVec[1],'T1'.activation.weaklyOutputActiveVec[1],$PRE.'P2'.fireIn[1],'P2'.fireIn[1],$PRE.'P2'.fireOut[1],'P2'.fireOut[1],'T2'.activation.fed[1],'T2'.activation.active,'T2'.activation.weaklyInputActiveVec[1],'T2'.activation.weaklyOutputActiveVec[1],'P3'.fireIn[1],'T1'.activation.arcType[1],'T1'.activation.fed[1],'T2'.activation.arcType[1],'T2'.activation.emptied[1],'T2'.outPlaces[1].enabledByInPlaces,'T1'.outPlaces[1].enabledByInPlaces) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 7} Notification: Performance of prepare postOptimizeDAE: time 0.0007961/0.1533, allocations: 234.1 kB / 39.56 MB, free: 1.801 MB / 13.95 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002829/0.1536, allocations: 35.95 kB / 39.59 MB, free: 1.801 MB / 13.95 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004717/0.1584, allocations: 0.7475 MB / 40.34 MB, free: 1.742 MB / 13.95 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.926e-05/0.1585, allocations: 6.469 kB / 40.34 MB, free: 1.742 MB / 13.95 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.425e-05/0.1585, allocations: 2.688 kB / 40.35 MB, free: 1.742 MB / 13.95 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.341e-05/0.1585, allocations: 3.281 kB / 40.35 MB, free: 1.742 MB / 13.95 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004771/0.1633, allocations: 1.233 MB / 41.58 MB, free: 1.121 MB / 13.95 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.336e-06/0.1634, allocations: 0.9375 kB / 41.58 MB, free: 1.121 MB / 13.95 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003926/0.1638, allocations: 53.59 kB / 41.64 MB, free: 1.078 MB / 13.95 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001641/0.1654, allocations: 328.7 kB / 41.96 MB, free: 0.8242 MB / 13.95 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001168/0.1656, allocations: 18.28 kB / 41.98 MB, free: 0.8125 MB / 13.95 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007869/0.1735, allocations: 0.8869 MB / 42.86 MB, free: 2.039 MB / 13.95 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.557e-06/0.1735, allocations: 3.625 kB / 42.87 MB, free: 2.039 MB / 13.95 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003153/0.1767, allocations: 1.105 MB / 43.97 MB, free: 1.898 MB / 13.95 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004193/0.181, allocations: 1.846 MB / 45.82 MB, free: 1.211 MB / 13.95 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001224/0.1811, allocations: 112.6 kB / 45.93 MB, free: 1.113 MB / 13.95 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001549/0.1813, allocations: 18.92 kB / 45.94 MB, free: 1.109 MB / 13.95 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004918/0.1818, allocations: 42.77 kB / 45.99 MB, free: 1.109 MB / 13.95 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003634/0.1822, allocations: 125.8 kB / 46.11 MB, free: 1.082 MB / 13.95 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001003/0.1823, allocations: 30.05 kB / 46.14 MB, free: 1.078 MB / 13.95 MB Notification: Performance of sort global known variables: time 0.0001885/0.1825, allocations: 155.4 kB / 46.29 MB, free: 0.9766 MB / 13.95 MB Notification: Performance of remove unused functions: time 0.002008/0.1845, allocations: 225.2 kB / 46.51 MB, free: 0.9648 MB / 13.95 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 ('P1'.t_,'P2'.t_,'P3'.t_) * Number of discrete variables: 14 ('P1'.fireOut[1],'P1'.emptying,'T1'.activation.emptied[1],'T1'.activation.active,'T1'.activation.weaklyInputActiveVec[1],'T1'.activation.weaklyOutputActiveVec[1],'P2'.fireIn[1],'P2'.fireOut[1],'T2'.activation.fed[1],'T2'.activation.active,'T2'.activation.weaklyInputActiveVec[1],'T2'.activation.weaklyOutputActiveVec[1],'P3'.fireIn[1],'P3'.feeding) * Number of discrete states: 10 ('P3'.fireIn[1],'P2'.fireOut[1],'P2'.fireIn[1],'P1'.fireOut[1],'T1'.activation.weaklyOutputActiveVec[1],'T1'.activation.weaklyInputActiveVec[1],'T1'.activation.active,'T2'.activation.weaklyOutputActiveVec[1],'T2'.activation.weaklyInputActiveVec[1],'T2'.activation.active) * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007409/0.1853, allocations: 208.9 kB / 46.71 MB, free: 0.8359 MB / 13.95 MB Notification: Performance of simCode: created initialization part: time 0.01008/0.1954, allocations: 0.9384 MB / 47.65 MB, free: 2.281 MB / 13.95 MB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/0.1955, allocations: 0 / 47.65 MB, free: 2.281 MB / 13.95 MB Notification: Performance of simCode: created simulation system equations: time 0.001266/0.1968, allocations: 0.494 MB / 48.15 MB, free: 2.211 MB / 13.95 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005034/0.1973, allocations: 37.53 kB / 48.18 MB, free: 2.211 MB / 13.95 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003381/0.2007, allocations: 1.095 MB / 49.28 MB, free: 1.969 MB / 13.95 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009149/0.2017, allocations: 1.072 MB / 50.35 MB, free: 1.266 MB / 13.95 MB Notification: Performance of SimCode: time 1.713e-06/0.2018, allocations: 0 / 50.35 MB, free: 1.266 MB / 13.95 MB (rm -f ConPNlib_ConPNlib.Examples.Test11.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test11.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test11.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ConPNlib_ConPNlib_Examples_Test11_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ConPNlib_ConPNlib_Examples_Test11.fmu > ConPNlib_ConPNlib.Examples.Test11.pipe 2>&1)