Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test1b.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.Test1b,fileNamePrefix="ConPNlib_ConPNlib_Examples_Test1b",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ConPNlib.Examples.Test1b,fileNamePrefix="ConPNlib_ConPNlib_Examples_Test1b",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.01537/0.01537, allocations: 1.342 MB / 8.621 MB, free: 204 kB / 5.871 MB Notification: Performance of FrontEnd - loaded program: time 0.03263/0.04808, allocations: 4.288 MB / 12.91 MB, free: 3.109 MB / 7.832 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.001064/0.04921, allocations: 364.3 kB / 13.26 MB, free: 2.934 MB / 7.832 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.003423/0.05269, allocations: 2.667 MB / 15.93 MB, free: 264 kB / 7.832 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001271/0.05288, allocations: 45.95 kB / 15.98 MB, free: 220 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.01223/0.06512, allocations: 2.393 MB / 18.37 MB, free: 0.9023 MB / 7.832 MB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.06519, allocations: 8.578 kB / 18.38 MB, free: 0.8945 MB / 7.832 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.641e-05/0.06525, allocations: 9.938 kB / 18.39 MB, free: 0.8867 MB / 7.832 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002211/0.06548, allocations: 179 kB / 18.56 MB, free: 0.6719 MB / 7.832 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.72e-05/0.06551, allocations: 4 kB / 18.57 MB, free: 0.668 MB / 7.832 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.631e-05/0.06554, allocations: 0 / 18.57 MB, free: 0.668 MB / 7.832 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.424e-05/0.06564, allocations: 27.83 kB / 18.59 MB, free: 0.6406 MB / 7.832 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.745e-05/0.06575, allocations: 49.69 kB / 18.64 MB, free: 0.5859 MB / 7.832 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.06577, allocations: 0 / 18.64 MB, free: 0.5859 MB / 7.832 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.06579, allocations: 0 / 18.64 MB, free: 0.5859 MB / 7.832 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.06581, allocations: 0 / 18.64 MB, free: 0.5859 MB / 7.832 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005334/0.06635, allocations: 346.5 kB / 18.98 MB, free: 196 kB / 7.832 MB Notification: Performance of preOpt comSubExp (simulation): time 4.453e-05/0.06641, allocations: 25.77 kB / 19.01 MB, free: 164 kB / 7.832 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.389e-05/0.06645, allocations: 8.922 kB / 19.01 MB, free: 152 kB / 7.832 MB Notification: Performance of preOpt evalFunc (simulation): time 7.614e-06/0.06646, allocations: 3.938 kB / 19.02 MB, free: 148 kB / 7.832 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.705e-05/0.06649, allocations: 30.56 kB / 19.05 MB, free: 108 kB / 7.832 MB Notification: Performance of pre-optimization done (n=2): time 2.114e-06/0.0665, allocations: 0 / 19.05 MB, free: 108 kB / 7.832 MB Notification: Performance of matching and sorting (n=2): time 0.000145/0.06665, allocations: 49.59 kB / 19.1 MB, free: 52 kB / 7.832 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.105e-05/0.06672, allocations: 77.11 kB / 19.17 MB, free: 2.578 MB / 10.45 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.06684, allocations: 104.9 kB / 19.27 MB, free: 2.465 MB / 10.45 MB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.06686, allocations: 25.7 kB / 19.3 MB, free: 2.434 MB / 10.45 MB Notification: Performance of collectInitialEqns (initialization): time 6.78e-05/0.06694, allocations: 95.94 kB / 19.39 MB, free: 2.336 MB / 10.45 MB Notification: Performance of collectInitialBindings (initialization): time 9.187e-06/0.06696, allocations: 4 kB / 19.4 MB, free: 2.332 MB / 10.45 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.781e-06/0.06697, allocations: 0 / 19.4 MB, free: 2.332 MB / 10.45 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.06711, allocations: 314.8 kB / 19.7 MB, free: 2.016 MB / 10.45 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.557e-05/0.06715, allocations: 8.031 kB / 19.71 MB, free: 2.008 MB / 10.45 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.345e-05/0.06721, allocations: 21.7 kB / 19.73 MB, free: 1.98 MB / 10.45 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.942e-05/0.06729, allocations: 15.92 kB / 19.75 MB, free: 1.965 MB / 10.45 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.0673, allocations: 3.906 kB / 19.75 MB, free: 1.961 MB / 10.45 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001621/0.06747, allocations: 53.67 kB / 19.81 MB, free: 1.902 MB / 10.45 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.0675, allocations: 8.312 kB / 19.81 MB, free: 1.895 MB / 10.45 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.06752, allocations: 320 / 19.81 MB, free: 1.895 MB / 10.45 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.06754, allocations: 0 / 19.81 MB, free: 1.895 MB / 10.45 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.06766, allocations: 16.02 kB / 19.83 MB, free: 1.879 MB / 10.45 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.06767, allocations: 0 / 19.83 MB, free: 1.879 MB / 10.45 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.785e-05/0.06774, allocations: 7.844 kB / 19.84 MB, free: 1.871 MB / 10.45 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.355e-05/0.06777, allocations: 11.98 kB / 19.85 MB, free: 1.859 MB / 10.45 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (T1.activation.active) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * Array equations: 0 * 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.0001118/0.06789, allocations: 139 kB / 19.98 MB, free: 1.715 MB / 10.45 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.903e-05/0.06794, allocations: 3.906 kB / 19.99 MB, free: 1.711 MB / 10.45 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.788e-05/0.06799, allocations: 7.969 kB / 20 MB, free: 1.695 MB / 10.45 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.068, allocations: 0 / 20 MB, free: 1.695 MB / 10.45 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.06802, allocations: 4 kB / 20 MB, free: 1.691 MB / 10.45 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.06803, allocations: 4 kB / 20 MB, free: 1.688 MB / 10.45 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001878/0.06823, allocations: 134.2 kB / 20.14 MB, free: 1.52 MB / 10.45 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.06824, allocations: 0 / 20.14 MB, free: 1.52 MB / 10.45 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.896e-05/0.06827, allocations: 0 / 20.14 MB, free: 1.52 MB / 10.45 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.317e-06/0.06829, allocations: 5.781 kB / 20.14 MB, free: 1.516 MB / 10.45 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.06831, allocations: 3.906 kB / 20.14 MB, free: 1.512 MB / 10.45 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.06832, allocations: 0 / 20.14 MB, free: 1.512 MB / 10.45 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/0.06833, allocations: 3.984 kB / 20.15 MB, free: 1.508 MB / 10.45 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000147/0.06849, allocations: 139.5 kB / 20.28 MB, free: 1.355 MB / 10.45 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003044/0.0688, allocations: 0.5074 MB / 20.79 MB, free: 0.832 MB / 10.45 MB Notification: Performance of postOpt removeConstants (simulation): time 6.402e-05/0.06888, allocations: 85.02 kB / 20.88 MB, free: 0.7305 MB / 10.45 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.577e-05/0.06892, allocations: 128 / 20.88 MB, free: 0.7305 MB / 10.45 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.194e-05/0.06901, allocations: 4 kB / 20.88 MB, free: 0.7266 MB / 10.45 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.724e-05/0.06905, allocations: 11.92 kB / 20.89 MB, free: 0.7148 MB / 10.45 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.06906, allocations: 4.062 kB / 20.9 MB, free: 0.7109 MB / 10.45 MB Notification: Performance of sort global known variables: time 6.816e-05/0.06914, allocations: 85.11 kB / 20.98 MB, free: 0.6289 MB / 10.45 MB Notification: Performance of remove unused functions: time 0.001219/0.07037, allocations: 19.91 kB / 21 MB, free: 0.6094 MB / 10.45 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (T1.activation.active) * Number of discrete states: 1 (T1.activation.active) * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * Array equations: 0 * 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.0002119/0.0706, allocations: 103.8 kB / 21.1 MB, free: 0.5 MB / 10.45 MB Notification: Performance of simCode: created initialization part: time 0.0001477/0.07076, allocations: 45.64 kB / 21.14 MB, free: 460 kB / 10.45 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.07078, allocations: 0 / 21.14 MB, free: 460 kB / 10.45 MB Notification: Performance of simCode: created simulation system equations: time 3.817e-05/0.07082, allocations: 33.7 kB / 21.18 MB, free: 420 kB / 10.45 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001922/0.07103, allocations: 7 kB / 21.18 MB, free: 416 kB / 10.45 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00156/0.07263, allocations: 291.4 kB / 21.47 MB, free: 104 kB / 10.45 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004778/0.07748, allocations: 0.7193 MB / 22.19 MB, free: 5.93 MB / 14.13 MB Notification: Performance of SimCode: time 1.473e-06/0.07754, allocations: 2.5 kB / 22.19 MB, free: 5.93 MB / 14.13 MB (rm -f ConPNlib_ConPNlib.Examples.Test1b.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test1b.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test1b.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test1b.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ConPNlib_ConPNlib_Examples_Test1b_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ConPNlib_ConPNlib_Examples_Test1b.fmu > ConPNlib_ConPNlib.Examples.Test1b.pipe 2>&1)