Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Sources.CurrentSourceReImInputConstant.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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Sources.CurrentSourceReImInputConstant,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Sources_CurrentSourceReImInputConstant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Sources.CurrentSourceReImInputConstant,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Sources_CurrentSourceReImInputConstant",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.0027/0.0027, allocations: 183.3 kB / 7.461 MB, free: 2.188 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.375/1.375, allocations: 221.4 MB / 229.3 MB, free: 3.07 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 102.6 kB / 280.1 MB, free: 1.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4713/0.4713, allocations: 78.92 MB / 409.8 MB, free: 14.96 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.1754/0.6467, allocations: 75.65 MB / 485.5 MB, free: 3.566 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3812/1.028, allocations: 69.49 MB / 0.5419 GB, free: 20.81 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.139/1.167, allocations: 98.23 MB / 0.6379 GB, free: 5.715 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002734/1.167, allocations: 71.95 kB / 0.6379 GB, free: 5.645 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.07611/1.243, allocations: 25.91 MB / 0.6632 GB, free: 11.5 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/1.244, allocations: 8 kB / 0.6632 GB, free: 11.5 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003169/1.247, allocations: 0.5057 MB / 0.6637 GB, free: 10.99 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001468/1.248, allocations: 0.6511 MB / 0.6644 GB, free: 10.28 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004388/1.249, allocations: 329.3 kB / 0.6647 GB, free: 9.902 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002253/1.249, allocations: 47.94 kB / 0.6647 GB, free: 9.855 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001953/1.251, allocations: 0.8084 MB / 0.6655 GB, free: 9.047 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001786/1.253, allocations: 0.8095 MB / 0.6663 GB, free: 8.227 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.948e-05/1.253, allocations: 4 kB / 0.6663 GB, free: 8.223 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.789e-05/1.253, allocations: 3.906 kB / 0.6663 GB, free: 8.219 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.135e-05/1.253, allocations: 16 kB / 0.6663 GB, free: 8.203 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007471/1.26, allocations: 3.382 MB / 0.6696 GB, free: 4.688 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00136/1.262, allocations: 0.7299 MB / 0.6704 GB, free: 3.934 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008959/1.263, allocations: 0.5235 MB / 0.6709 GB, free: 3.402 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001342/1.263, allocations: 20.75 kB / 0.6709 GB, free: 3.383 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.358e-05/1.263, allocations: 47.59 kB / 0.6709 GB, free: 3.328 MB / 490.7 MB Notification: Performance of pre-optimization done (n=88): time 3.256e-06/1.263, allocations: 0 / 0.6709 GB, free: 3.328 MB / 490.7 MB Notification: Performance of matching and sorting (n=88): time 0.222/1.485, allocations: 4.576 MB / 0.6754 GB, free: 142.6 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.045e-05/1.485, allocations: 93.64 kB / 0.6755 GB, free: 142.5 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009903/1.486, allocations: 0.6373 MB / 0.6761 GB, free: 142.4 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001981/1.486, allocations: 25.7 kB / 0.6761 GB, free: 142.4 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001246/1.486, allocations: 296.5 kB / 0.6764 GB, free: 142.3 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003052/1.487, allocations: 294.9 kB / 0.6767 GB, free: 142.1 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.49e-05/1.487, allocations: 0 / 0.6767 GB, free: 142.1 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.533e-05/1.487, allocations: 339.6 kB / 0.677 GB, free: 141.8 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006538/1.487, allocations: 416.8 kB / 0.6774 GB, free: 141.8 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006649/1.488, allocations: 0.5301 MB / 0.6779 GB, free: 141.7 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006798/1.489, allocations: 457.6 kB / 0.6784 GB, free: 141.7 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/1.489, allocations: 0 / 0.6784 GB, free: 141.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.01378/1.503, allocations: 4.678 MB / 0.6829 GB, free: 141.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.341e-05/1.503, allocations: 3.906 kB / 0.6829 GB, free: 141.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.675e-05/1.503, allocations: 3.625 kB / 0.683 GB, free: 141.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005848/1.508, allocations: 1.917 MB / 0.6848 GB, free: 141.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006117/1.509, allocations: 96.64 kB / 0.6849 GB, free: 141.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01734/1.526, allocations: 7.177 MB / 0.6919 GB, free: 139.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001672/1.528, allocations: 193.7 kB / 0.6921 GB, free: 139.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001078/1.528, allocations: 27.53 kB / 0.6921 GB, free: 139.8 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 60 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 15} Notification: Performance of prepare postOptimizeDAE: time 0.0002453/1.529, allocations: 117 kB / 0.6922 GB, free: 139.7 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002216/1.529, allocations: 108.7 kB / 0.6924 GB, free: 139.7 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01431/1.543, allocations: 4.666 MB / 0.6969 GB, free: 139.3 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-05/1.543, allocations: 9.688 kB / 0.6969 GB, free: 139.3 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/1.543, allocations: 8.375 kB / 0.6969 GB, free: 139.3 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.197e-05/1.543, allocations: 7.594 kB / 0.6969 GB, free: 139.3 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01651/1.56, allocations: 5.969 MB / 0.7028 GB, free: 138.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.328e-05/1.56, allocations: 0 / 0.7028 GB, free: 138.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005743/1.56, allocations: 84.45 kB / 0.7028 GB, free: 138.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006044/1.566, allocations: 1.883 MB / 0.7047 GB, free: 138.4 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001388/1.567, allocations: 3.672 kB / 0.7047 GB, free: 138.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01577/1.582, allocations: 6.615 MB / 0.7111 GB, free: 136.9 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/1.582, allocations: 0 / 0.7111 GB, free: 136.9 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01488/1.597, allocations: 5.515 MB / 0.7165 GB, free: 135.5 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01618/1.614, allocations: 6.604 MB / 0.723 GB, free: 133.2 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004654/1.614, allocations: 199 kB / 0.7232 GB, free: 133 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001852/1.614, allocations: 0.6094 kB / 0.7232 GB, free: 133 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001252/1.615, allocations: 150.7 kB / 0.7233 GB, free: 133 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003935/1.616, allocations: 120.9 kB / 0.7234 GB, free: 133 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.729e-05/1.616, allocations: 20.78 kB / 0.7234 GB, free: 133 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0007473/1.617, allocations: 0.499 MB / 0.7239 GB, free: 132.7 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002046/1.619, allocations: 385.6 kB / 0.7243 GB, free: 132.7 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (gENCLS.delta,gENCLS.eq,gENCLS.omega) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 49 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002339/1.619, allocations: 125.4 kB / 0.7244 GB, free: 132.6 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006681/1.626, allocations: 2.077 MB / 0.7265 GB, free: 131.9 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/1.626, allocations: 1.125 kB / 0.7265 GB, free: 131.9 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005654/1.631, allocations: 1.596 MB / 0.728 GB, free: 131.4 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006577/1.632, allocations: 51.25 kB / 0.7281 GB, free: 131.4 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003906/1.636, allocations: 1.387 MB / 0.7294 GB, free: 130.7 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007493/1.637, allocations: 1.106 MB / 0.7305 GB, free: 129.9 MB / 490.7 MB Notification: Performance of SimCode: time 5.71e-07/1.637, allocations: 0 / 0.7305 GB, free: 129.9 MB / 490.7 MB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Sources.CurrentSourceReImInputConstant.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Sources.CurrentSourceReImInputConstant.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Sources.CurrentSourceReImInputConstant.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Sources.CurrentSourceReImInputConstant.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Sources_CurrentSourceReImInputConstant_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Sources_CurrentSourceReImInputConstant.fmu > OpenIPSL_dev_OpenIPSL.Tests.Sources.CurrentSourceReImInputConstant.pipe 2>&1)