Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothBlocks",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 4.0.0+maint.om/package.mo): time 0.00416/0.00416, allocations: 178.5 kB / 7.457 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7051/0.7051, allocations: 133.5 MB / 141.4 MB, free: 15.71 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.608/1.608, allocations: 221.3 MB / 395 MB, free: 10.05 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 109.9 kB / 477.8 MB, free: 10.66 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4958/0.4969, allocations: 88.42 MB / 0.5529 GB, free: 89.06 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2027/0.6996, allocations: 82.3 MB / 0.6333 GB, free: 13.87 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5487/1.248, allocations: 112.3 MB / 0.743 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002568/1.249, allocations: 76.14 kB / 0.7431 GB, free: 10.59 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.01573/1.264, allocations: 5.153 MB / 0.7481 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/1.264, allocations: 11.5 kB / 0.7481 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008129/1.265, allocations: 129.1 kB / 0.7482 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001836/1.265, allocations: 180.6 kB / 0.7484 GB, free: 25.67 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001095/1.266, allocations: 68.69 kB / 0.7485 GB, free: 25.6 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.111e-05/1.266, allocations: 11.81 kB / 0.7485 GB, free: 25.6 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001848/1.266, allocations: 68.62 kB / 0.7485 GB, free: 25.6 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002035/1.266, allocations: 108.2 kB / 0.7486 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.936e-06/1.266, allocations: 0 / 0.7486 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.425e-05/1.266, allocations: 0 / 0.7486 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/1.266, allocations: 3.875 kB / 0.7486 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001145/1.267, allocations: 488.1 kB / 0.7491 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001338/1.267, allocations: 81.86 kB / 0.7492 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.155e-05/1.267, allocations: 38.39 kB / 0.7492 GB, free: 25.26 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.233e-05/1.268, allocations: 7.781 kB / 0.7492 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.333e-05/1.268, allocations: 43 kB / 0.7493 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=6): time 1.713e-06/1.268, allocations: 0 / 0.7493 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of matching and sorting (n=6): time 0.0002872/1.268, allocations: 101.1 kB / 0.7494 GB, free: 25.17 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.125e-05/1.268, allocations: 51.41 kB / 0.7494 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000109/1.268, allocations: 124 kB / 0.7495 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.927e-05/1.268, allocations: 25.7 kB / 0.7496 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.407e-05/1.268, allocations: 99.16 kB / 0.7497 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.391e-05/1.268, allocations: 27.86 kB / 0.7497 GB, free: 24.87 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.067e-06/1.268, allocations: 0 / 0.7497 GB, free: 24.87 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001002/1.268, allocations: 320.4 kB / 0.75 GB, free: 24.56 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.657e-05/1.268, allocations: 32.14 kB / 0.75 GB, free: 24.56 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.201e-05/1.268, allocations: 56.17 kB / 0.7501 GB, free: 24.53 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.566e-05/1.268, allocations: 28.92 kB / 0.7501 GB, free: 24.53 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/1.268, allocations: 3.938 kB / 0.7501 GB, free: 24.53 MB / 0.5105 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001879/1.269, allocations: 122.9 kB / 0.7502 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/1.269, allocations: 7.656 kB / 0.7502 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/1.269, allocations: 0 / 0.7502 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/1.269, allocations: 4.594 kB / 0.7502 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003127/1.269, allocations: 55.06 kB / 0.7503 GB, free: 24.47 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/1.269, allocations: 0.6094 kB / 0.7503 GB, free: 24.47 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002091/1.269, allocations: 36.25 kB / 0.7503 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.904e-05/1.269, allocations: 5.109 kB / 0.7503 GB, free: 24.46 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 8.368e-05/1.269, allocations: 104.9 kB / 0.7504 GB, free: 24.36 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.192e-05/1.269, allocations: 8.312 kB / 0.7504 GB, free: 24.35 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003203/1.27, allocations: 127.7 kB / 0.7506 GB, free: 24.31 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/1.27, allocations: 3.938 kB / 0.7506 GB, free: 24.3 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/1.27, allocations: 0 / 0.7506 GB, free: 24.3 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/1.27, allocations: 0.7969 kB / 0.7506 GB, free: 24.3 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002338/1.27, allocations: 220 kB / 0.7508 GB, free: 24.13 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/1.27, allocations: 0 / 0.7508 GB, free: 24.13 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002491/1.27, allocations: 43.61 kB / 0.7508 GB, free: 24.13 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/1.27, allocations: 3.844 kB / 0.7508 GB, free: 24.13 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.602e-05/1.27, allocations: 1.266 kB / 0.7508 GB, free: 24.13 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.195e-06/1.27, allocations: 4.656 kB / 0.7508 GB, free: 24.12 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/1.27, allocations: 0 / 0.7508 GB, free: 24.12 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002202/1.271, allocations: 201.5 kB / 0.751 GB, free: 23.99 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003245/1.271, allocations: 0.5728 MB / 0.7516 GB, free: 23.48 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.98e-05/1.271, allocations: 89.94 kB / 0.7517 GB, free: 23.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.699e-05/1.271, allocations: 7.938 kB / 0.7517 GB, free: 23.37 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003397/1.271, allocations: 47.33 kB / 0.7517 GB, free: 23.36 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.822e-05/1.271, allocations: 4.906 kB / 0.7517 GB, free: 23.36 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.496e-05/1.271, allocations: 7.281 kB / 0.7517 GB, free: 23.36 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.661e-05/1.271, allocations: 104 kB / 0.7518 GB, free: 23.29 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0008208/1.272, allocations: 24.38 kB / 0.7518 GB, free: 23.29 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0001437/1.272, allocations: 99.38 kB / 0.7519 GB, free: 23.19 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002048/1.273, allocations: 80.12 kB / 0.752 GB, free: 23.19 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/1.273, allocations: 0 / 0.752 GB, free: 23.19 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 8.815e-05/1.273, allocations: 39.05 kB / 0.7521 GB, free: 23.19 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002278/1.273, allocations: 8.203 kB / 0.7521 GB, free: 23.19 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004516/1.273, allocations: 146.2 kB / 0.7522 GB, free: 23.1 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004097/1.274, allocations: 0.7244 MB / 0.7529 GB, free: 22.39 MB / 0.5105 GB Notification: Performance of SimCode: time 2.9e-07/1.274, allocations: 0 / 0.7529 GB, free: 22.39 MB / 0.5105 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothBlocks_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothBlocks.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)