Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) 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/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 Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic,fileNamePrefix="Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic,fileNamePrefix="Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.896/2.896, allocations: 287.3 MB / 302.3 MB, free: 8.367 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001509/0.001509, allocations: 183 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.223/2.223, allocations: 205.4 MB / 0.6295 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001177/0.001177, allocations: 78.94 kB / 0.7428 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005352/0.0005354, allocations: 12.25 kB / 0.8657 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2415/0.2421, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic): time 0.007643/0.2498, allocations: 4.883 MB / 0.9831 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.8946/1.144, allocations: 131.1 MB / 1.111 GB, free: 1.566 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001345/1.146, allocations: 21.03 kB / 1.111 GB, free: 1.559 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.006075/1.152, allocations: 1.305 MB / 1.112 GB, free: 1.418 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.003273/1.155, allocations: 0.6172 MB / 1.113 GB, free: 1.371 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.00382/1.159, allocations: 0.7676 MB / 1.114 GB, free: 1.344 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.004522/1.164, allocations: 1.781 MB / 1.115 GB, free: 1.285 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001664/1.165, allocations: 0.6932 MB / 1.116 GB, free: 1.152 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002736/1.168, allocations: 0.849 MB / 1.117 GB, free: 0.9844 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002077/1.17, allocations: 0.672 MB / 1.118 GB, free: 0.8398 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0003932/1.171, allocations: 43.56 kB / 1.118 GB, free: 0.8398 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005344/1.176, allocations: 1.654 MB / 1.119 GB, free: 0.8164 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.002647/1.179, allocations: 1.872 MB / 1.121 GB, free: 0.6875 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001248/1.18, allocations: 0.5589 MB / 1.122 GB, free: 0.5273 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.01101/1.191, allocations: 6.147 MB / 1.128 GB, free: 15.14 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/1.191, allocations: 1.281 kB / 1.128 GB, free: 15.14 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.915e-06/1.191, allocations: 0 / 1.128 GB, free: 15.14 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002051/1.191, allocations: 0 / 1.128 GB, free: 15.14 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 309 * Number of variables: 309 Notification: Performance of Generate backend data structure: time 0.01983/1.211, allocations: 4.99 MB / 1.132 GB, free: 12.33 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.683e-05/1.211, allocations: 13.95 kB / 1.133 GB, free: 12.33 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007489/1.212, allocations: 181.7 kB / 1.133 GB, free: 12.26 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003903/1.216, allocations: 469.3 kB / 1.133 GB, free: 12.02 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4765/1.693, allocations: 307.4 MB / 1.433 GB, free: 2.094 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000176/1.693, allocations: 122.2 kB / 1.433 GB, free: 1.973 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005599/1.693, allocations: 176 kB / 1.434 GB, free: 1.801 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003851/1.697, allocations: 1.319 MB / 1.435 GB, free: 428 kB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.177e-05/1.697, allocations: 3.938 kB / 1.435 GB, free: 424 kB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001926/1.698, allocations: 48 kB / 1.435 GB, free: 376 kB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.193e-05/1.698, allocations: 28 kB / 1.435 GB, free: 348 kB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6442/2.342, allocations: 1.405 MB / 1.436 GB, free: 375.9 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1202/2.462, allocations: 76.36 MB / 1.511 GB, free: 326 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004099/2.466, allocations: 1.137 MB / 1.512 GB, free: 324.9 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001706/2.466, allocations: 39.75 kB / 1.512 GB, free: 324.8 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002198/2.469, allocations: 0.6597 MB / 1.513 GB, free: 324.2 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=106): time 7.304e-06/2.469, allocations: 0 / 1.513 GB, free: 324.2 MB / 0.9636 GB Notification: Performance of matching and sorting (n=106): time 0.009521/2.478, allocations: 2.256 MB / 1.515 GB, free: 321.9 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003068/2.479, allocations: 342.2 kB / 1.515 GB, free: 321.5 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.291/3.77, allocations: 379.7 MB / 1.886 GB, free: 338.2 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0005754/3.77, allocations: 70.5 kB / 1.886 GB, free: 338.1 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.00278/3.773, allocations: 1.569 MB / 1.888 GB, free: 336.8 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005404/3.774, allocations: 353.7 kB / 1.888 GB, free: 336.5 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002026/3.774, allocations: 40 kB / 1.888 GB, free: 336.5 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0002093/3.774, allocations: 405.1 kB / 1.888 GB, free: 336.1 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002741/3.777, allocations: 1.159 MB / 1.89 GB, free: 335.1 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003468/3.78, allocations: 1.872 MB / 1.891 GB, free: 333.1 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003647/3.784, allocations: 1.585 MB / 1.893 GB, free: 331.7 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.202e-05/3.784, allocations: 8 kB / 1.893 GB, free: 331.7 MB / 0.9636 GB Notification: Performance of matching and sorting (n=278) (initialization): time 0.01084/3.795, allocations: 3.679 MB / 1.896 GB, free: 328.3 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002743/3.795, allocations: 186.1 kB / 1.897 GB, free: 328.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.571e-05/3.795, allocations: 20 kB / 1.897 GB, free: 328.1 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.874e-05/3.795, allocations: 39.94 kB / 1.897 GB, free: 328.1 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00333/3.799, allocations: 457.2 kB / 1.897 GB, free: 327.7 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.725e-05/3.799, allocations: 44.44 kB / 1.897 GB, free: 327.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005063/3.804, allocations: 0.5372 MB / 1.898 GB, free: 327.1 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006505/3.805, allocations: 108.6 kB / 1.898 GB, free: 327 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 96 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (249): * Single equations (assignments): 248 * 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.003976/3.809, allocations: 1.641 MB / 1.899 GB, free: 325.6 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001889/3.811, allocations: 342.8 kB / 1.9 GB, free: 325.2 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005937/3.816, allocations: 2.438 MB / 1.902 GB, free: 323.1 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.562e-05/3.817, allocations: 14 kB / 1.902 GB, free: 323.1 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/3.817, allocations: 0 / 1.902 GB, free: 323.1 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.381e-05/3.817, allocations: 1.781 kB / 1.902 GB, free: 323.1 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01356/3.83, allocations: 5.648 MB / 1.908 GB, free: 318.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/3.83, allocations: 0 / 1.908 GB, free: 318.6 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00118/3.831, allocations: 151.8 kB / 1.908 GB, free: 318.5 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.418e-06/3.831, allocations: 8 kB / 1.908 GB, free: 318.5 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001156/3.832, allocations: 35.98 kB / 1.908 GB, free: 318.4 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.494e-06/3.832, allocations: 7.984 kB / 1.908 GB, free: 318.4 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/3.832, allocations: 0 / 1.908 GB, free: 318.4 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005601/3.837, allocations: 2.273 MB / 1.91 GB, free: 316.1 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003749/3.841, allocations: 1.23 MB / 1.911 GB, free: 314.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002045/3.843, allocations: 20 kB / 1.911 GB, free: 314.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004267/3.847, allocations: 307.9 kB / 1.912 GB, free: 314.5 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003881/3.848, allocations: 64.91 kB / 1.912 GB, free: 314.5 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001485/3.848, allocations: 43.98 kB / 1.912 GB, free: 314.4 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.3168/4.165, allocations: 305.4 MB / 2.21 GB, free: 9.016 MB / 0.9636 GB Notification: Performance of sort global known variables: time 3.637e-06/4.165, allocations: 0 / 2.21 GB, free: 9.016 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.00641/4.171, allocations: 1.176 MB / 2.211 GB, free: 7.914 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.01009/4.181, allocations: 3.648 MB / 2.215 GB, free: 4.516 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.007686/4.189, allocations: 4.03 MB / 2.219 GB, free: 488 kB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.275e-05/4.189, allocations: 1.172 kB / 2.219 GB, free: 488 kB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.6403/4.83, allocations: 1.954 MB / 2.22 GB, free: 372.9 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004378/4.834, allocations: 402.5 kB / 2.221 GB, free: 372.8 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03755/4.872, allocations: 26.77 MB / 2.247 GB, free: 351 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007302/4.879, allocations: 2.38 MB / 2.249 GB, free: 350.1 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.006328/4.885, allocations: 1.267 MB / 2.251 GB, free: 349.8 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005767/4.891, allocations: 1.703 MB / 2.252 GB, free: 348.7 MB / 0.9636 GB Notification: Performance of SimCode: time 9.22e-07/4.891, allocations: 0 / 2.252 GB, free: 348.7 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4247/5.316, allocations: 185.8 MB / 2.434 GB, free: 181.9 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002408/5.316, allocations: 264.7 kB / 2.434 GB, free: 181.6 MB / 0.9636 GB Error: Error building simulator. Build log: clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/C-Sources" -c -o Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic.o Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic.c In file included from Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic.c:7: In file included from ./Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/C-Sources" -c -o Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic_functions.o Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic_functions.c In file included from Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic_functions.c:2: In file included from ./Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic_functions.c:7: In file included from ./Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/C-Sources/getTimeSpan.c:6:10: fatal error: 'ModelicaUtilities.h' file not found #include ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. : recipe for target 'Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic_functions.o' failed make: *** [Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic_functions.o] Error 1