Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr MEV_MEV.Test.TestDutyCycleGenerator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package MEV with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(MEV.Test.TestDutyCycleGenerator,fileNamePrefix="MEV_MEV_Test_TestDutyCycleGenerator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(MEV.Test.TestDutyCycleGenerator,fileNamePrefix="MEV_MEV_Test_TestDutyCycleGenerator",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/Complex 3.2.3+maint.om/package.mo): time 0.002028/0.002028, allocations: 183.6 kB / 7.46 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/package.mo): time 0.006724/0.006724, allocations: 1.926 MB / 9.792 MB, free: 456 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9879/0.9879, allocations: 205.2 MB / 215.9 MB, free: 11.08 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008185/0.0008185, allocations: 86.17 kB / 264.4 MB, free: 10.84 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.08495/0.08579, allocations: 54.22 MB / 318.6 MB, free: 4.543 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.167/0.2528, allocations: 48.07 MB / 366.7 MB, free: 45.52 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.06927/0.3221, allocations: 74.12 MB / 440.8 MB, free: 8.93 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001493/0.3223, allocations: 54.55 kB / 440.9 MB, free: 8.879 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.00177/0.3241, allocations: 0.6914 MB / 441.6 MB, free: 8.164 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.3242, allocations: 8 kB / 441.6 MB, free: 8.156 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.287e-05/0.3242, allocations: 12.72 kB / 441.6 MB, free: 8.145 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.186e-05/0.3243, allocations: 168 kB / 441.7 MB, free: 7.941 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.938e-05/0.3243, allocations: 1.219 kB / 441.7 MB, free: 7.941 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.336e-05/0.3243, allocations: 11.92 kB / 441.8 MB, free: 7.93 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.719e-05/0.3244, allocations: 11.91 kB / 441.8 MB, free: 7.918 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.954e-05/0.3245, allocations: 38.69 kB / 441.8 MB, free: 7.875 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.352e-06/0.3245, allocations: 0 / 441.8 MB, free: 7.875 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.704e-06/0.3245, allocations: 3.688 kB / 441.8 MB, free: 7.875 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.3245, allocations: 0 / 441.8 MB, free: 7.875 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000305/0.3248, allocations: 237.4 kB / 442 MB, free: 7.605 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.692e-05/0.3249, allocations: 43.75 kB / 442.1 MB, free: 7.559 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.557e-05/0.3249, allocations: 12.92 kB / 442.1 MB, free: 7.543 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.207e-06/0.325, allocations: 1.781 kB / 442.1 MB, free: 7.543 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.097e-05/0.325, allocations: 57.8 kB / 442.2 MB, free: 7.477 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.183e-06/0.325, allocations: 0 / 442.2 MB, free: 7.477 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001237/0.3252, allocations: 45.69 kB / 442.2 MB, free: 7.426 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.969e-05/0.3252, allocations: 55.31 kB / 442.3 MB, free: 7.359 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.886e-05/0.3253, allocations: 100.7 kB / 442.4 MB, free: 7.258 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.154e-05/0.3253, allocations: 25.7 kB / 442.4 MB, free: 7.227 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.771e-05/0.3253, allocations: 80.14 kB / 442.5 MB, free: 7.145 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.143e-05/0.3253, allocations: 15.89 kB / 442.5 MB, free: 7.129 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.347e-06/0.3254, allocations: 3.938 kB / 442.5 MB, free: 7.125 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.103e-05/0.3254, allocations: 310.8 kB / 442.8 MB, free: 6.812 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.553e-05/0.3255, allocations: 8 kB / 442.8 MB, free: 6.805 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.453e-05/0.3255, allocations: 21.86 kB / 442.8 MB, free: 6.777 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.109e-05/0.3255, allocations: 11.98 kB / 442.8 MB, free: 6.766 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3255, allocations: 0 / 442.8 MB, free: 6.766 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.939e-05/0.3256, allocations: 53.55 kB / 442.9 MB, free: 6.707 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.859e-06/0.3256, allocations: 4 kB / 442.9 MB, free: 6.703 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.3256, allocations: 10.23 kB / 442.9 MB, free: 6.695 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.326e-06/0.3256, allocations: 0 / 442.9 MB, free: 6.695 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.649e-05/0.3257, allocations: 11.56 kB / 442.9 MB, free: 6.688 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.3257, allocations: 4 kB / 442.9 MB, free: 6.684 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.385e-05/0.3258, allocations: 12.05 kB / 442.9 MB, free: 6.672 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.3258, allocations: 4 kB / 442.9 MB, free: 6.668 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.dutyCycleGenerator.offTime,dutyCycleGenerator.offTime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 5.384e-05/0.3259, allocations: 106.3 kB / 443 MB, free: 6.559 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.936e-06/0.3259, allocations: 0 / 443 MB, free: 6.559 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.777e-05/0.3259, allocations: 15.77 kB / 443 MB, free: 6.543 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.3259, allocations: 0 / 443 MB, free: 6.543 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.228e-05/0.3259, allocations: 3.906 kB / 443 MB, free: 6.539 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.3259, allocations: 3.938 kB / 443 MB, free: 6.535 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.677e-05/0.326, allocations: 142.2 kB / 443.2 MB, free: 6.359 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.3261, allocations: 4.375 kB / 443.2 MB, free: 6.355 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.752e-05/0.3261, allocations: 8 kB / 443.2 MB, free: 6.348 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.3261, allocations: 3.938 kB / 443.2 MB, free: 6.344 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-06/0.3261, allocations: 4 kB / 443.2 MB, free: 6.34 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.3261, allocations: 3.984 kB / 443.2 MB, free: 6.336 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.3261, allocations: 0 / 443.2 MB, free: 6.336 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.213e-05/0.3262, allocations: 81.03 kB / 443.3 MB, free: 6.238 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001683/0.3264, allocations: 457.4 kB / 443.7 MB, free: 5.77 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.01e-05/0.3265, allocations: 84.95 kB / 443.8 MB, free: 5.668 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.401e-05/0.3265, allocations: 0 / 443.8 MB, free: 5.668 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.103e-05/0.3265, allocations: 15.98 kB / 443.8 MB, free: 5.652 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.71e-05/0.3266, allocations: 0 / 443.8 MB, free: 5.652 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.3266, allocations: 0 / 443.8 MB, free: 5.652 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.847e-05/0.3266, allocations: 85.88 kB / 443.9 MB, free: 5.57 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007152/0.3273, allocations: 8 kB / 443.9 MB, free: 5.562 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,dutyCycleGenerator.offTime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 8.098e-05/0.3274, allocations: 91.23 kB / 444 MB, free: 5.461 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 7.007e-05/0.3275, allocations: 20 kB / 444 MB, free: 5.441 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.162e-06/0.3275, allocations: 0 / 444 MB, free: 5.441 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.247e-05/0.3275, allocations: 20.06 kB / 444.1 MB, free: 5.422 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.826e-05/0.3276, allocations: 8.984 kB / 444.1 MB, free: 5.418 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001961/0.3278, allocations: 66.36 kB / 444.1 MB, free: 5.332 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002129/0.3281, allocations: 0.6915 MB / 444.8 MB, free: 4.617 MB / 330.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3281, allocations: 0 / 444.8 MB, free: 4.617 MB / 330.7 MB (rm -f MEV_MEV.Test.TestDutyCycleGenerator.pipe ; mkfifo MEV_MEV.Test.TestDutyCycleGenerator.pipe ; head -c 1048576 < MEV_MEV.Test.TestDutyCycleGenerator.pipe >> ../files/MEV_MEV.Test.TestDutyCycleGenerator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_MEV_MEV_Test_TestDutyCycleGenerator_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 MEV_MEV_Test_TestDutyCycleGenerator.fmu > MEV_MEV.Test.TestDutyCycleGenerator.pipe 2>&1)