Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) 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) 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) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",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/Buildings 10.0.0-master/package.mo): time 1.806/1.806, allocations: 390.4 MB / 397.7 MB, free: 11.25 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009646/0.0009646, allocations: 183.7 kB / 490.8 MB, free: 1.949 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.142/1.142, allocations: 221.3 MB / 0.7863 GB, free: 13.71 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008936/0.0008935, allocations: 99.53 kB / 0.9264 GB, free: 14.25 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4217/0.4227, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1833/0.606, allocations: 143 MB / 1.212 GB, free: 40.03 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5125/1.119, allocations: 171.7 MB / 1.379 GB, free: 17.04 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002326/1.119, allocations: 91.86 kB / 1.379 GB, free: 17.04 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.08096/1.2, allocations: 40.48 MB / 1.419 GB, free: 9.121 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.133e-05/1.2, allocations: 12 kB / 1.419 GB, free: 9.109 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001459/1.201, allocations: 242.6 kB / 1.419 GB, free: 8.871 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007552/1.202, allocations: 0.5307 MB / 1.42 GB, free: 8.375 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.351e-05/1.202, allocations: 20 kB / 1.42 GB, free: 8.355 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.205e-05/1.202, allocations: 43.91 kB / 1.42 GB, free: 8.312 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008493/1.203, allocations: 0.6176 MB / 1.42 GB, free: 7.906 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001168/1.204, allocations: 1.044 MB / 1.421 GB, free: 6.934 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.319e-05/1.204, allocations: 7.938 kB / 1.421 GB, free: 6.926 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.985e-05/1.204, allocations: 4 kB / 1.421 GB, free: 6.922 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.535e-05/1.204, allocations: 61.2 kB / 1.421 GB, free: 6.867 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004288/1.209, allocations: 5.789 MB / 1.427 GB, free: 1.238 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007521/1.209, allocations: 0.5208 MB / 1.428 GB, free: 0.8672 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003682/1.21, allocations: 324.1 kB / 1.428 GB, free: 0.6641 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.904e-05/1.21, allocations: 4.438 kB / 1.428 GB, free: 0.6602 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.447e-05/1.21, allocations: 38.5 kB / 1.428 GB, free: 0.6172 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=47): time 1.674e-06/1.21, allocations: 3.938 kB / 1.428 GB, free: 0.6133 MB / 0.8386 GB Notification: Performance of matching and sorting (n=48): time 0.001901/1.212, allocations: 1.183 MB / 1.429 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.908e-05/1.212, allocations: 63.83 kB / 1.429 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003963/1.212, allocations: 394 kB / 1.43 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.59e-05/1.212, allocations: 25.7 kB / 1.43 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001643/1.212, allocations: 344.7 kB / 1.43 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001112/1.213, allocations: 170.2 kB / 1.43 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.675e-05/1.213, allocations: 0 / 1.43 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001219/1.213, allocations: 366.8 kB / 1.43 GB, free: 14.47 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000335/1.213, allocations: 259.4 kB / 1.431 GB, free: 14.31 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000435/1.213, allocations: 443.2 kB / 1.431 GB, free: 13.9 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004197/1.214, allocations: 337.4 kB / 1.431 GB, free: 13.68 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/1.214, allocations: 0 / 1.431 GB, free: 13.68 MB / 0.8542 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001489/1.215, allocations: 0.9852 MB / 1.432 GB, free: 12.91 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/1.215, allocations: 14.95 kB / 1.432 GB, free: 12.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/1.215, allocations: 4 kB / 1.432 GB, free: 12.89 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007969/1.216, allocations: 276.7 kB / 1.433 GB, free: 12.66 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004409/1.217, allocations: 111.1 kB / 1.433 GB, free: 12.55 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004958/1.222, allocations: 6.206 MB / 1.439 GB, free: 6.414 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004568/1.222, allocations: 15.98 kB / 1.439 GB, free: 6.398 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.287e-05/1.222, allocations: 27.38 kB / 1.439 GB, free: 6.375 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 59 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001256/1.222, allocations: 133.1 kB / 1.439 GB, free: 6.242 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.639e-05/1.222, allocations: 67.23 kB / 1.439 GB, free: 6.176 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001329/1.224, allocations: 0.8443 MB / 1.44 GB, free: 5.555 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/1.224, allocations: 11.94 kB / 1.44 GB, free: 5.543 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/1.224, allocations: 0 / 1.44 GB, free: 5.543 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/1.224, allocations: 4 kB / 1.44 GB, free: 5.539 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002142/1.226, allocations: 1.59 MB / 1.441 GB, free: 4.262 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/1.226, allocations: 11.92 kB / 1.441 GB, free: 4.25 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002526/1.226, allocations: 47.97 kB / 1.442 GB, free: 4.203 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007204/1.227, allocations: 273.6 kB / 1.442 GB, free: 3.977 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.138e-05/1.227, allocations: 4.062 kB / 1.442 GB, free: 3.973 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005/1.232, allocations: 6.185 MB / 1.448 GB, free: 13.84 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/1.232, allocations: 4 kB / 1.448 GB, free: 13.84 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001288/1.233, allocations: 1.02 MB / 1.449 GB, free: 12.95 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001379/1.235, allocations: 1.409 MB / 1.45 GB, free: 11.67 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002202/1.235, allocations: 184.9 kB / 1.45 GB, free: 11.49 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.629e-05/1.235, allocations: 4 kB / 1.45 GB, free: 11.48 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003304/1.235, allocations: 15.97 kB / 1.45 GB, free: 11.47 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.351e-05/1.235, allocations: 22.91 kB / 1.45 GB, free: 11.45 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.513e-05/1.235, allocations: 15.81 kB / 1.45 GB, free: 11.44 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0002738/1.236, allocations: 300.4 kB / 1.451 GB, free: 11.21 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001354/1.237, allocations: 196 kB / 1.451 GB, free: 11.02 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 27 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001529/1.237, allocations: 114 kB / 1.451 GB, free: 10.9 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001584/1.239, allocations: 1.154 MB / 1.452 GB, free: 9.926 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/1.239, allocations: 0 / 1.452 GB, free: 9.926 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001033/1.24, allocations: 0.8013 MB / 1.453 GB, free: 9.195 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007331/1.241, allocations: 160.5 kB / 1.453 GB, free: 9.07 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001692/1.242, allocations: 0.9955 MB / 1.454 GB, free: 8.145 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006069/1.243, allocations: 1.059 MB / 1.455 GB, free: 7.082 MB / 0.8698 GB Notification: Performance of SimCode: time 3.4e-07/1.243, allocations: 4 kB / 1.455 GB, free: 7.078 MB / 0.8698 GB (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat does not exist to compare? outputFormat=mat